Skip to content

Commit

Permalink
Merge pull request #177 from petermillgram/petermillgram-patch-1
Browse files Browse the repository at this point in the history
Start using UTC timestamps when comparing dates
  • Loading branch information
u01jmg3 authored Apr 27, 2018
2 parents 3630219 + 900ef0e commit 19931c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ICal/ICal.php
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ protected function processEvents()
$date = sprintf(self::ICAL_DATE_TIME_TEMPLATE, $anEvent[$type . '_array'][0]['TZID']) . $date;
}

$anEvent[$type . '_array'][2] = $this->iCalDateToUnixTimestamp($date);
$anEvent[$type . '_array'][2] = $this->iCalDateToUnixTimestamp($date, true, true);
$anEvent[$type . '_array'][3] = $date;
}
}
Expand Down

0 comments on commit 19931c8

Please sign in to comment.