<?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>mothersday at wrong date in calender</title> 
  <pubDate>Fri, 10 Apr 2026 17:52:42 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/9989</link> 
  <atom:link rel="self" type="application/rss+xml" title="mothersday at wrong date in calender" href="https://bugs.horde.org/ticket/9989/rss" /> 
  <description>mothersday at wrong date in calender</description> 
 
   
   
  <item> 
   <title>there seems to be a problem with the data_holidays integrati</title> 
   <description>there seems to be a problem with the data_holidays integration in kronolith. kronolith displays the motherday for germany at 01.05.2011 when viewing the month may, but when viewing april it is not displayed at 01.05.2011. also the summary block shows mothersday at 01.05.2011 on the frontpage of horde. have attached some screenshots where you can see the problem. Data_holidays calculates the right day as 08.05.2011 which a vardump shows me.

Date Object ( [year] =&gt; 2011 [month] =&gt; 05 [day] =&gt; 08 [hour] =&gt; 0 [minute] =&gt; 0 [second] =&gt; 0 [partsecond] =&gt; 0 [on_standardyear] =&gt; 2011 [on_standardmonth] =&gt; 4 [on_standardday] =&gt; 30 [on_standardhour] =&gt; 23 [on_standardminute] =&gt; 0 [on_standardsecond] =&gt; 0 [on_standardpartsecond] =&gt; 0 [ob_countleapseconds] =&gt; [ob_invalidtime] =&gt; [tz] =&gt; Date_TimeZone Object ( [id] =&gt; Europe/Berlin [offset] =&gt; 3600000 [shortname] =&gt; CET [dstshortname] =&gt; CEST [longname] =&gt; Central European Time [dstlongname] =&gt; Central European Summer Time [hasdst] =&gt; 1 [on_summertimeoffset] =&gt; 3600000 [on_summertimestartmonth] =&gt; 3 [os_summertimestartday] =&gt; lastSun [on_summertimestarttime] =&gt; 3600000 [on_summertimeendmonth] =&gt; 10 [os_summertimeendday] =&gt; lastSun [on_summertimeendtime] =&gt; 3600000 ) [getWeekdayAbbrnameLength] =&gt; 3 )</description> 
   <pubDate>Tue, 26 Apr 2011 15:55:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9989#t64154</link> 
  </item> 
   
  <item> 
   <title>Can&#039;t reproduce, it&#039;s always on May 8 in any view for me.</title> 
   <description>Can&#039;t reproduce, it&#039;s always on May 8 in any view for me.</description> 
   <pubDate>Tue, 26 Apr 2011 16:37:13 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9989#t64155</link> 
  </item> 
   
  <item> 
   <title>anything where i can look whats going wrong here? some hint </title> 
   <description>anything where i can look whats going wrong here? some hint to a code pointer or something?</description> 
   <pubDate>Tue, 26 Apr 2011 17:12:07 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9989#t64161</link> 
  </item> 
   
  <item> 
   <title>Events are converted from Date_Holidays to Kronolith in lib/</title> 
   <description>Events are converted from Date_Holidays to Kronolith in lib/Driver/Holidays.php, Kronolith_Driver_Holidays#listEvents().</description> 
   <pubDate>Tue, 26 Apr 2011 17:18:47 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9989#t64164</link> 
  </item> 
   
  <item> 
   <title>i did add some debug code to the line 

 $event = new Kron</title> 
   <description>i did add some debug code to the line 

 $event = new Kronolith_Event_Holidays($this, $holiday);if($event-&gt;title == &quot;Muttertag&quot;){echo var_dump($event);echo var_dump($holiday);echo var_dump($this);}

output is in the attached text file, after the event is created it has the wrong date</description> 
   <pubDate>Tue, 26 Apr 2011 19:33:43 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9989#t64184</link> 
  </item> 
   
  <item> 
   <title>What&#039;s the output of:
var_dump($holiday-&gt;getDate()-&gt;getTime</title> 
   <description>What&#039;s the output of:
var_dump($holiday-&gt;getDate()-&gt;getTime());</description> 
   <pubDate>Wed, 18 May 2011 16:00:25 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9989#t64799</link> 
  </item> 
   
  <item> 
   <title>for your var_dump statement i got:


int(1304892000) 
</title> 
   <description>for your var_dump statement i got:


int(1304892000) 
</description> 
   <pubDate>Wed, 18 May 2011 19:06:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9989#t64826</link> 
  </item> 
   
  <item> 
   <title>This doesn&#039;t make any sense. This timestamp doesn&#039;t match *e</title> 
   <description>This doesn&#039;t make any sense. This timestamp doesn&#039;t match *either* the date from Date_Holidays, nor the one that&#039;s displayed in Kronolith for you. No idea what&#039;s going on in your system, but I&#039;m afraid you have to track this down yourself.</description> 
   <pubDate>Sun, 22 May 2011 17:27:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9989#t64957</link> 
  </item> 
   
  <item> 
   <title>today i did some more debugging because fathersday is also a</title> 
   <description>today i did some more debugging because fathersday is also at the wrong date 3.6.2011 instead of 2.6.2011.

i noticed that it has something to do with the timezone that is configured in php.ini &quot;date.timezone = Europe/Berlin&quot; and timezone set in linux /etc/localtime points also to Europe/Berlin

fathersday for example is stored in a Date object with the following values:
year = 2011	
month = 06	
day = 02	
hour = 0	
minute = 0	
second = 0	
partsecond = 0	
on_standardyear = 2011	
on_standardmonth = 06	
on_standardday = 02	
on_standardhour = 23	
on_standardminute = 0	
on_standardsecond = 0	
on_standardpartsecond = 0
tz = Europe/Berlin

the interesting thing is that when i call $dhEvent-&gt;_date-&gt;getDate(4) the result is 20110602000000
when i call $dhEvent-&gt;_date-&gt;getDate(5) the result is 1307052000 which is 20110603000000

my suggestion is not to call getTime() here &quot;new Horde_Date($dhEvent-&gt;_date-&gt;getTime());&quot; but i haven&#039;t a idea what to call</description> 
   <pubDate>Thu, 02 Jun 2011 13:48:49 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9989#t65253</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Use getDate(</title> 
   <description>Changes have been made in Git for this ticket:

Use getDate() which seems to work correctly, opposed to getTime() (Bug #9989).

 1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/4c52824152bdc4b3c6c369cfbe2a9a7d2da68e10</description> 
   <pubDate>Thu, 02 Jun 2011 18:04:00 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9989#t65269</link> 
  </item> 
   
  <item> 
   <title>So this basically means Date::getTime() is broken? You shoul</title> 
   <description>So this basically means Date::getTime() is broken? You should report this in the PEAR bug tracker then. Since getDate() seems to work better, and the format is supported by Horde_Date, try what I committed.</description> 
   <pubDate>Thu, 02 Jun 2011 18:04:57 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9989#t65270</link> 
  </item> 
   
  <item> 
   <title>your commit fixed the issues that i had with the events not </title> 
   <description>your commit fixed the issues that i had with the events not on the right day, verified with mothersday and fathersday, alos a look over the months this year seems to me now correct</description> 
   <pubDate>Thu, 02 Jun 2011 18:36:12 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9989#t65271</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
