upgrade icalparser from e6a3a285cf6e239236a40153a66b67b940220b43 to cae1631b9496a7415ef960b0dff1cd0f39fe3135
This commit is contained in:
parent
fe29295a0e
commit
e3db4803e0
31 changed files with 1329 additions and 877 deletions
|
@ -1,19 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* @author Roman Ozana <ozana@omdesign.cz>
|
||||
*/
|
||||
|
||||
use Tester\Assert;
|
||||
use Tester\Environment;
|
||||
|
||||
require_once __DIR__ . '/../vendor/autoload.php';
|
||||
Environment::setup();
|
||||
date_default_timezone_set('Europe/Prague');
|
||||
|
||||
$cal = new \om\IcalParser();
|
||||
$results = $cal->parseFile(__DIR__ . '/cal/blank_description.ics');
|
||||
|
||||
Assert::same('', $results['VEVENT'][0]['DESCRIPTION']);
|
||||
Assert::same('America/Los_Angeles', $cal->timezone->getName());
|
||||
|
||||
Assert::same($results['DAYLIGHT'][0]['RRULE']['FREQ'], 'YEARLY');
|
Loading…
Add table
Add a link
Reference in a new issue