Skip to content

Access humanReadable from RSET? #115

@dtconsultingltd

Description

@dtconsultingltd

HI,
I couldn't figure out how to use EXDATE with new RRule(), so I've used new RSet() instead.
This is all working, but how can I access the humanReadable() function for RSet?

My code is below. Thanks for your help and thanks for a great library!

	$rset = new RSet();
        $rset->addRRule(array(
			'FREQ' => 'weekly',
			'INTERVAL' => 1,
			'BYDAY' => 'MO, TU, WE, TH, FR',
			'DTSTART' => '2022-09-20 11:00:00',
            'UNTIL' => '2022-10-01 12:00:00'
		));
	$rset->addExdate('2022-09-22 11:00:00');

$rset->humanReadable(array('locale' => 'en-GB'));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions