forked from extern/egroupware
changed iso8601 to YYYY-MM-DDThh:mm:ss
This commit is contained in:
parent
0ecc01baaa
commit
a3ab98c600
@ -230,7 +230,7 @@
|
|||||||
}
|
}
|
||||||
$_type = (is_integer($_res) ? 'int' : gettype($_res));
|
$_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';
|
$_type = 'dateTime.iso8601';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user