FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=16719&edit=1

ID: 16719
Comment by: michael.menge@zdv.uni-tuebingen.de
Reported By: michael dot menge at zdv dot uni-tuebingen dot de
Summary: wrong dates for Holidays with Date_Holidays
Status: Open
Type: Bug
Package: Date
Operating System: Linux
Package Version: 1.5.0a1
PHP Version: 5.2.5
Roadmap Versions:
New Comment:

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


Previous Comments:
------------------------------------------------------------------------

[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

  • Ken at Oct 26, 2009 at 9:38 pm
    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: Open
    Type: Bug
    Package: Date
    Operating System: Linux
    Package Version: 1.5.0a1
    PHP Version: 5.2.5
    -Assigned To:
    +Assigned To: kguest
    Roadmap Versions:
    New Comment:

    -Assigned To:
    +Assigned To: kguest



    Previous Comments:
    ------------------------------------------------------------------------

    [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

    ------------------------------------------------------------------------
  • Ken at Oct 26, 2009 at 9:38 pm
    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: Open
    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: Open



    Previous Comments:
    ------------------------------------------------------------------------

    [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

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedOct 23, '09 at 11:51a
activeOct 26, '09 at 9:38p
posts3
users2
websitepear.php.net

2 users in discussion

Ken: 2 posts Michael Menge: 1 post

People

Translate

site design / logo © 2022 Grokbase