|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22548 Date/Calc.php, wrong arguments in call of nextDayOfWeek and prevDayOfWeek
Submitted: 2003-03-05 06:49 UTC Modified: 2003-03-13 15:27 UTC
From: koan at gmx dot at Assigned:
Status: Closed Package: PEAR related
PHP Version: 4.3.1 OS: Debian Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: koan at gmx dot at
New email:
PHP Version: OS:


 [2003-03-05 06:49 UTC] koan at gmx dot at

arguments in function calls (nextDayOfWeek and prevDayOfWeek) in lines 638, 658 always assigned to ""

seems to be a "Copy & Paste"-related error ;-)

Andreas Kossmeier

RCS file: /repository/pear/Date/Date/Calc.php,v
retrieving revision 1.9
diff -r1.9 Calc.php
<         return(Date_Calc::nextDayOfWeek($dow,$day="",$month="",$year="",$format="%Y%m%d",true));
>         return(Date_Calc::nextDayOfWeek($dow,$day,$month,$year,$format,true));
<         return(Date_Calc::prevDayOfWeek($dow,$day="",$month="",$year="",$format="%Y%m%d",true));
>         return(Date_Calc::prevDayOfWeek($dow,$day,$month,$year,$format,true));


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-13 15:27 UTC]
This bug has been fixed in CVS and the next release will work as expected.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Oct 17 07:03:33 2021 UTC