DataObjects/Core_notify_recur.php
authorChris <chris@roojs.com>
Thu, 24 May 2012 08:37:48 +0000 (16:37 +0800)
committerChris <chris@roojs.com>
Thu, 24 May 2012 08:37:48 +0000 (16:37 +0800)
DataObjects/Core_notify_recur.php

index 3cab489..8c07e88 100644 (file)
@@ -169,7 +169,8 @@ class Pman_Core_DataObjects_Core_notify_recur extends DB_DataObject
         
         
         foreach($ar as $a) {
-            $ret[] = date_timezone_set(strtotime($a), timezone_open($this->tz));
+            $date = new DateTime(strtotime($a), new DateTimeZone('Pacific/Nauru'));
+            $ret[] = date_timezone_set($date, timezone_open($this->tz));
             //$ret[] = date('Y-m-d H:i', strtotime($a . $append));
             
         }