projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efb6d7f
)
Fix passing date to Date_Holidays.
author
Jan Schneider
<jan@horde.org>
Wed, 11 Feb 2009 22:18:38 +0000
(23:18 +0100)
committer
Jan Schneider
<jan@horde.org>
Fri, 13 Feb 2009 00:47:54 +0000
(
01:47
+0100)
Bug: 7961
kronolith/lib/Driver/holidays.php
patch
|
blob
|
history
diff --git
a/kronolith/lib/Driver/holidays.php
b/kronolith/lib/Driver/holidays.php
index
fe9e74d
..
1cfc970
100644
(file)
--- a/
kronolith/lib/Driver/holidays.php
+++ b/
kronolith/lib/Driver/holidays.php
@@
-67,7
+67,7
@@
class Kronolith_Driver_holidays extends Kronolith_Driver {
for ($date = new Horde_Date($startDate);
$date->compareDate($endDate) <= 0;
$date->mday++) {
- $holidays = $dh->getHolidayForDate($date->
timestamp(
), null, true);
+ $holidays = $dh->getHolidayForDate($date->
format('Y-m-d'
), null, true);
if (Date_Holidays::isError($holidays)) {
Horde::logMessage(sprintf('Unable to retrieve list of holidays from %s to %s',
(string)$startDate, (string)$endDate), __FILE__, __LINE__);