projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0952987
)
DataObjects/Core_notify_recur.php
author
Alan Knowles
<alan@akbkhome.com>
Tue, 3 Apr 2012 10:09:22 +0000
(18:09 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 3 Apr 2012 10:09:22 +0000
(18:09 +0800)
DataObjects/Core_notify_recur.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_notify_recur.php
b/DataObjects/Core_notify_recur.php
index
f336142
..
2b5b363
100644
(file)
--- a/
DataObjects/Core_notify_recur.php
+++ b/
DataObjects/Core_notify_recur.php
@@
-109,7
+109,30
@@
class Pman_Core_DataObjects_Core_notify_recur extends DB_DataObject
}
-
+ function applyTimezoneToList($ar)
+ {
+ $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) {
+ $a = strtotime($a " + ")
+
+
+ }
+
+
+ }
}