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

Bug #13545 Date_Span::set() doesn't work when passed an int and format
Submitted: 2008-03-31 12:23 UTC
From: gauthierm Assigned: firman
Status: Closed Package: Date (version CVS)
PHP Version: 5.2.5 OS: irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2008-03-31 12:23 UTC] gauthierm (Michael Gauthier)
Description: ------------ See the attached patch. Test script: --------------- $span = new Date_Span(1, '%D'); $span->format('%D-%S'); Expected result: ---------------- 1-00 Actual result: -------------- 0-01

Comments

 [2008-05-06 17:12 UTC] firman (Firman Wandayandi)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.