Bug #16719 [Asn->Bgs]: wrong dates for Holidays with Date_Holidays

From: Date: Mon, 21 Jun 2010 00:09:50 +0000
Subject: Bug #16719 [Asn->Bgs]: wrong dates for Holidays with Date_Holidays
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-3962@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=16719&edit=1 ID: 16719 Updated by: ken@linux.ie Reported By: michael dot menge at zdv dot uni-tuebingen dot de Summary: wrong dates for Holidays with Date_Holidays -Status: Assigned +Status: Bogus Type: Bug Package: Date Operating System: Linux Package Version: 1.5.0a1 PHP Version: 5.2.5 Assigned To: kguest Roadmap Versions: New Comment: -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. Previous Comments: ------------------------------------------------------------------------ [2009-10-26 22:37:52] kguest -Assigned To: +Assigned To: kguest ------------------------------------------------------------------------ [2009-10-26 22:37:52] kguest -Status: Assigned +Status: Open ------------------------------------------------------------------------ [2009-10-23 13:50:50] michaelmenge 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-21 14:36:21] michaelmenge 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 ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=16719&edit=1

« previous php.pear.bugs (#3962) next »