upgrade icalparser from e6a3a285cf6e239236a40153a66b67b940220b43 to cae1631b9496a7415ef960b0dff1cd0f39fe3135

This commit is contained in:
root 2022-04-19 21:15:47 +02:00 committed by Florian Schlegel
parent 2395e88e36
commit e2541c84e4
31 changed files with 1329 additions and 877 deletions

View file

@ -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');