6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/18/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#7961] Unable to retrieve list of holidays
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. ,\ /. ..__ | | \./ >< |_/ [ __ |__| | / \| \[_./
Comment
>> Sorry, but this doesn't make any sense. Can you provide a test case > >> and/or check what difference this makes inside the Date_Holidays code? > > > > This is what I get from the debug log: > > Feb 07 17:18:19 HORDE [info] [kronolith] Unable to retrieve list of > holidays from Mon Jan 26 00:00:00 2009 to Mon Mar 2 23:59:59 2009 > [pid 20372 on line 74 of > "/usr/local/apache/htdocs/horde3/horde/kronolith/lib/Driver/holidays.php"] > > > > I also logged $date->timestamp() and $holidays: > > $date->timestamp() is: 1234393200 > > $holidays is: Date-string has wrong format (must be YYYY-MM-DD) > > > > But the problem is that $date->timestamp() is of type string as > discovered by gettype($date->timestamp())). > > Date_Holidays expects an integer as timestamp. > > So a cleaner fix of the problem is the newly attached patch, which > does a type cast to integer instead of making a integer out of a > string by addin 1.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers