From 9a6d4882825756dbce95ac1bd9d4d5066814024b Mon Sep 17 00:00:00 2001 From: James Date: Sun, 3 Apr 2011 00:00:49 +0100 Subject: [PATCH] We will use UTC timezone internally --- src/CoderAction.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CoderAction.php b/src/CoderAction.php index 5ab3cae..8b1fe18 100644 --- a/src/CoderAction.php +++ b/src/CoderAction.php @@ -21,6 +21,7 @@ class CoderAction { protected $dateTime; public function setDateTime(DateTime $dt) { + $dt->setTimezone(new DateTimeZone('UTC')); $this->dateTime = $dt; }