From a3ab98c6002fb2a14e6773d05a4bbbbb2b98f2c0 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 25 Oct 2003 16:43:23 +0000 Subject: [PATCH] changed iso8601 to YYYY-MM-DDThh:mm:ss --- phpgwapi/inc/class.xmlrpc_server.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.xmlrpc_server.inc.php b/phpgwapi/inc/class.xmlrpc_server.inc.php index 41fde67542..08cb31c5b2 100644 --- a/phpgwapi/inc/class.xmlrpc_server.inc.php +++ b/phpgwapi/inc/class.xmlrpc_server.inc.php @@ -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'; }