projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
087defa
)
DataObjects/Core_notify_recur.php
author
Alan Knowles
<alan@akbkhome.com>
Tue, 3 Apr 2012 10:04:28 +0000
(18:04 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 3 Apr 2012 10:04:28 +0000
(18:04 +0800)
DataObjects/Core_notify_recur.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_notify_recur.php
b/DataObjects/Core_notify_recur.php
index
4801f92
..
f336142
100644
(file)
--- a/
DataObjects/Core_notify_recur.php
+++ b/
DataObjects/Core_notify_recur.php
@@
-84,7
+84,7
@@
class Pman_Core_DataObjects_Core_notify_recur extends DB_DataObject
strtotime($day) < strtotime($end);
$day = date('Y-m-d', strtotime("$day + 1 DAY")))
{
-
+ // skip days not accounted for..
if (!in_array(date('N', strtotime($day)), $days)) {
continue;
}
@@
-94,6
+94,7
@@
class Pman_Core_DataObjects_Core_notify_recur extends DB_DataObject
$ret[] = $day . ' ' . $hh;
}
}
+
return $this->applyTimezoneToList($ret);