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

Bug #8851 date-validation allows letters in time.
Submitted: 2006-10-04 23:07 UTC
From: lyric680-web at yahoo dot de Assigned: amir
Status: Closed Package: Validate (version 0.6.4)
PHP Version: 5.0.5 OS: Linux
Roadmaps: 0.8.0    
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
2006-12-16 11:18 UTC
Bug Type:
From: lyric680-web at yahoo dot de
New email:
PHP Version: Package Version: OS:


 [2006-10-04 23:07 UTC] lyric680-web at yahoo dot de (Cyril)
Description: ------------ $time = "aa:aa"; $validate->date($time, array("format"=>"%h:%i")) returns true Test script: --------------- require_once 'Validate.php'; $validate = & new Validate(); $time = "aa:aa"; if ($validate->date($time,array("format"=>"%h:%i"))) echo "Is this a bug?"; Expected result: ---------------- Is this a bug?


 [2006-10-05 04:42 UTC] amir at php dot net (Amir Mohammad Saied)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the 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.