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

Bug #470 weekOfYear - wrong result
Submitted: 2003-12-20 23:07 UTC
From: yyyy at stod dot de Assigned:
Status: Bogus Package: Date
PHP Version: 4.3.4 OS: win xp
Roadmaps: (Not assigned)    
Subscription  


 [2003-12-20 23:07 UTC] yyyy at stod dot de
Description: ------------ "weekOfYear" will produce wrong results. echo "Heutiges Datum KW: ".$DateTest->weekOfYear($DateTest->dateNow("22,12,2003")); produces: 51 Regards Ben Reproduce code: --------------- echo "Heutiges Datum KW: ".$DateTest->weekOfYear($DateTest->dateNow("22,12,2003")); Expected result: ---------------- Result should be: 52 if your week begins on monday.

Comments

 [2003-12-21 13:25 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!