FAQ
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

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJun 20, '10 at 11:17p
activeJun 20, '10 at 11:17p
posts1
users1
websitepear.php.net

1 user in discussion

Ken: 1 post

People

Translate

site design / logo © 2022 Grokbase