changed iso8601 to YYYY-MM-DDThh:mm:ss

This commit is contained in:
Ralf Becker 2003-10-25 16:43:23 +00:00
parent 0ecc01baaa
commit a3ab98c600

View File

@ -230,7 +230,7 @@
}
$_type = (is_integer($_res) ? 'int' : gettype($_res));
if ($_type == string && ereg('^[0-9]{8}T[0-9]{4}$',$_res))
if ($_type == string && ereg('^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}$',$_res))
{
$_type = 'dateTime.iso8601';
}