mirror of
https://github.com/rlanvin/php-rrule.git
synced 2024-11-28 05:24:10 +01:00
add test
This commit is contained in:
parent
7af14b7dac
commit
949addfb2d
@ -79,6 +79,9 @@ class RfcParserTest extends TestCase
|
||||
array('EXDATE;TZID=America/New_York:19970714T083000',
|
||||
array(date_create('19970714T083000',new \DateTimeZone('America/New_York')))
|
||||
),
|
||||
array('EXDATE;TZID=W. Europe Standard Time:20230915T222222',
|
||||
array(date_create('20230915T222222',new \DateTimeZone('Europe/Berlin')))
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
@ -90,4 +93,4 @@ class RfcParserTest extends TestCase
|
||||
$dates = RfcParser::parseExDate($string);
|
||||
$this->assertEquals($dates, $expected);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user