X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=DataObjects%2FCore_notify_recur.php;h=56396eb9f9d1f4179a1835bc99b06cf7fe7fd872;hb=8060d5eba0d9bfbaa10e65fde566284fe20aada5;hp=04cbfa977f45dd7f00e498753689923b7e4cd348;hpb=e96bdc854d6e0372a80223bcadab4d0da64d456d;p=Pman.Core diff --git a/DataObjects/Core_notify_recur.php b/DataObjects/Core_notify_recur.php index 04cbfa97..56396eb9 100644 --- a/DataObjects/Core_notify_recur.php +++ b/DataObjects/Core_notify_recur.php @@ -110,13 +110,14 @@ class Pman_Core_DataObjects_Core_notify_recur extends DB_DataObject $usedays[] = date("Y-m-d", $ut); } } - + //print_r($this); foreach($usedays as $d){ foreach($hours as $h){ $date = new DateTime($d. ' ' . $h, new DateTimeZone($this->tz)); + print_r($date);exit; $date->setTimezone(new DateTimeZone(ini_get('date.timezone'))); $ret[] = $date->format('Y-m-d H:i:s'); } @@ -142,7 +143,7 @@ class Pman_Core_DataObjects_Core_notify_recur extends DB_DataObject $notifytimes = $this->notifyTimes(2); - ////print_R($notifytimes); + //print_R($notifytimes); $newSearch = DB_DataObject::factory('core_notify'); $newSearch->whereAdd( 'act_start > NOW()');