mirror of
https://github.com/rlanvin/php-rrule.git
synced 2025-02-21 10:54:14 +01:00
Fix array syntax for PHP 5.3
This commit is contained in:
parent
fe83f6de05
commit
01d06e576d
@ -561,7 +561,7 @@ class RRule implements RRuleInterface
|
||||
$dtstart->setTimezone(new \DateTimeZone('UTC'));
|
||||
$timezone_name = 'UTC';
|
||||
}
|
||||
if ( in_array($timezone_name, ['UTC','GMT','Z']) ) {
|
||||
if ( in_array($timezone_name, array('UTC','GMT','Z')) ) {
|
||||
$str = sprintf(
|
||||
"DTSTART:%s\nRRULE:",
|
||||
$dtstart->format('Ymd\THis\Z')
|
||||
|
Loading…
x
Reference in New Issue
Block a user