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

Request #7640 Doesn't validate <date> package.xml field
Submitted: 2006-05-16 15:17 UTC
From: bjori Assigned: pajoye
Status: Closed Package: PEAR (version 1.4.9)
PHP Version: 5.1.4 OS: FreeBSD
Roadmaps: (Not assigned)    
Subscription  


 [2006-05-16 15:17 UTC] bjori (Hannes Magnusson)
Description: ------------ The <date> package.xml element isn't checked if the date exists, just if its today or not. i.e. Warning: Channel validator error: field "date" - Release Date "2006-16-05" is not today Apparently it should be YYYY-MM-DD, not YYYY-DD-MM. Would be neat if the element contains invalid date pear would scream loudly.

Comments

 [2006-06-08 01:23 UTC] pajoye (Pierre-Alain Joye)
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.