projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ac8645
)
DataObjects/Core_notify_recur.php
author
Chris
<chris@roojs.com>
Thu, 24 May 2012 08:49:27 +0000
(16:49 +0800)
committer
Chris
<chris@roojs.com>
Thu, 24 May 2012 08:49:27 +0000
(16:49 +0800)
DataObjects/Core_notify_recur.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_notify_recur.php
b/DataObjects/Core_notify_recur.php
index
5bb2410
..
936adbf
100644
(file)
--- a/
DataObjects/Core_notify_recur.php
+++ b/
DataObjects/Core_notify_recur.php
@@
-156,25
+156,12
@@
class Pman_Core_DataObjects_Core_notify_recur extends DB_DataObject
{
$ret = array();
-// $tz = explode($this->tz, ":");
-// if ($tz < 0) {
-//
-// }
-// $append = ($tz[0] < 0) ? " - " : " + ";
-//
-// $append .= abs($tz[0]) . " HOURS";
-// if (!empty($tz[1])) {
-// $append .= $tz[1] . " MINUTES";
-// }
-
foreach($ar as $a) {
$date = new DateTime($a, new DateTimeZone($this->tz));
$ret[] = $date;
- //$ret[] = date('Y-m-d H:i', strtotime($a . $append));
}
return $ret;
-
}
function generateNotifications(){