<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Unable to retrieve list of holidays</title> 
  <pubDate>Fri, 10 Apr 2026 09:50:10 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7961</link> 
  <atom:link rel="self" type="application/rss+xml" title="Unable to retrieve list of holidays" href="https://bugs.horde.org/ticket/7961/rss" /> 
  <description>Unable to retrieve list of holidays</description> 
 
   
   
  <item> 
   <title>Kronolith is not able to retrieve holidays by passing a Hord</title> 
   <description>Kronolith is not able to retrieve holidays by passing a Horde_Date timestamp to Date_Holidays getHolidayForDate. Interestingly the attached patch fixes the problem.</description> 
   <pubDate>Fri, 06 Feb 2009 21:31:35 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7961#t52362</link> 
  </item> 
   
  <item> 
   <title>Sorry, but this doesn&#039;t make any sense. Can you provide a te</title> 
   <description>Sorry, but this doesn&#039;t make any sense. Can you provide a test case and/or check what difference this makes inside the Date_Holidays code?</description> 
   <pubDate>Fri, 06 Feb 2009 23:24:31 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7961#t52366</link> 
  </item> 
   
  <item> 
   <title>&gt; Sorry, but this doesn&#039;t make any sense. Can you provide a </title> 
   <description>&gt; Sorry, but this doesn&#039;t make any sense. Can you provide a test case 

&gt; 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 &quot;/usr/local/apache/htdocs/horde3/horde/kronolith/lib/Driver/holidays.php&quot;]



I also logged $date-&gt;timestamp() and $holidays:

$date-&gt;timestamp() is: 1234393200

$holidays is: Date-string has wrong format (must be YYYY-MM-DD) 



But the problem is that $date-&gt;timestamp() is of type string as discovered by gettype($date-&gt;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. </description> 
   <pubDate>Sat, 07 Feb 2009 16:50:14 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7961#t52374</link> 
  </item> 
   
  <item> 
   <title>patch</title> 
   <description>patch</description> 
   <pubDate>Sat, 07 Feb 2009 16:51:16 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7961#t52375</link> 
  </item> 
   
  <item> 
   <title>&gt; patch



does this make any sense to you?</title> 
   <description>&gt; patch



does this make any sense to you?</description> 
   <pubDate>Wed, 11 Feb 2009 21:35:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7961#t52485</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/kronolith/lib/Driver/holidays.php?rt=horde&amp;r1=1.6.2.7&amp;r2=1.6.2.8&amp;ty=u</description> 
   <pubDate>Wed, 11 Feb 2009 22:15:39 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7961#t52489</link> 
  </item> 
   
  <item> 
   <title>Yes, thanks.</title> 
   <description>Yes, thanks.</description> 
   <pubDate>Wed, 11 Feb 2009 22:17:03 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7961#t52490</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Fix passing </title> 
   <description>Changes have been made in Git for this ticket:

Fix passing date to Date_Holidays. Bug: 7961

http://git.horde.org/diff.php/kronolith/lib/Driver/holidays.php?rt=horde-git&amp;r1=1f29c9197500160f3bff50775c85ac9db473259f&amp;r2=478f3f18c0d22b3ebadf2e59c1d8c085e9faae3f</description> 
   <pubDate>Tue, 12 Jan 2010 23:59:13 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7961#t57514</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
