Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (13 sloc) 0.251 kB
--TEST--
#8851, validate::date: date-validation allows letters in time.
--FILE--
<?php
require_once 'Validate.php';
$validate = new Validate();
$time = "aa:aa";
if (!$validate->date($time,array("format"=>"%h:%i"))) {
echo "Ok";
}
?>
--EXPECT--
Ok
Jump to Line
Something went wrong with that request. Please try again.