mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
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));
|
||||
|
||||
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';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user