浏览代码

Data synchro: web service synchro_import - usage to expose the real default date format (mySQL datetime format)

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4266 a333f486-631f-4898-b8df-5754b55c2be0
romainq 9 年之前
父节点
当前提交
92e9dcb0fc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      synchro/synchro_import.php

+ 1 - 1
synchro/synchro_import.php

@@ -96,7 +96,7 @@ $aPageParams = array
 	(
 		'mandatory' => false,
 		'modes' => 'http,cli',
-		'default' => '',
+		'default' => 'Y-m-d H:i:s',
 		'description' => 'Input date format (used both for dates and datetimes) - Examples: Y-m-d, d/m/Y (Europe) - no transformation is applied if the argument is omitted. (note: old format specification using %Y %m %d is also supported for backward compatibility)',
 	),
 	'separator' => array