Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.0a4

Bug #16719 wrong dates for Holidays with Date_Holidays
Submitted: 2009-10-21 18:36 UTC
From: michaelmenge Assigned: kguest
Status: Bogus Package: Date (version 1.5.0a1)
PHP Version: 5.2.5 OS: Linux
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 39 - 27 = ?

 
 [2009-10-21 18:36 UTC] michaelmenge (Michael Menge)
Description: ------------ Hello upgrading Date_Holiday to 0.21.4 alpha and Date_Holidays_Germany 0.1.2 I also upgradet Date to 1.5.0a1 this produced wrong Holiday in Kronolith 2.3.2 (Horde-Framework 3.3.5) Downgrading Date to 1.4.7 resolved the Problem. The following Holidays are examples with wrong date. Expected result: ---------------- 1st Advent -> Sun. 29.Nov 2009 2nd Advent -> Sun. 6. Dec 2009 3rd Advent -> Sun. 13. Dec 2009 4th Advent -> Sun 20. Dec 2009 Palm Sunday -> Sun 28. Mar 2010 Good Friday -> Fr 2. Apr 2010 White Sunday -> Sun 11 Apr 2010 Actual result: -------------- 1st Advent -> Fr. 25. Dec 2009 2nd Advent -> Fr. 25. Dec 2009 3rd Advent -> Fr. 25. Dec 2009 4th Advent -> Fr. 25. Dec 2009 Good Friday -> Sun 4. Apr 2009 Palm Sunday -> Sun 4. Apr 2009 White Sunday -> Sun 4. Apr 2009

Comments

 [2009-10-23 17:50 UTC] michaelmenge (Michael Menge)
Sorry for the noise, the bug is in Date_Holiday, as it does Change Day Month and Year on Date calculation but not on_standardday, on_standardmonth, on_standardyear
 [2009-10-27 02:37 UTC] kguest (Ken Guest)
-Assigned To: +Assigned To: kguest
 [2009-10-27 02:37 UTC] kguest (Ken Guest)
-Status: Assigned +Status: Open
 [2010-06-21 04:09 UTC] kguest (Ken Guest)
-Status: Assigned +Status: Bogus
Sorry, but your problem does not imply a bug in PEAR itself. For a list of more appropriate places to ask for help using PEAR, please visit http://pear.php.net/support/ as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PEAR. Can't replicate with Date v 1.5.0a1, Date_Holidays v0.21.4 and Date_Holidays_Germany v0.1.2.