Przeglądaj źródła

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 lat temu
rodzic
commit
92e9dcb0fc
1 zmienionych plików z 1 dodań i 1 usunięć
  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