瀏覽代碼

change key value for date fromat in ParseMapping

tsteuer 4 年之前
父節點
當前提交
a59f010cc1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cdplib/db_migration/ParseMapping.py

+ 1 - 1
cdplib/db_migration/ParseMapping.py

@@ -169,7 +169,7 @@ class ParseMapping:
             "Not all objects in the mapping json contain property tag " + self._source
 
         standard_property_names=["type"]
-        standard_property_values=["DATETIME"]
+        standard_property_values=["%d%m%Y"]
 
         date_formats = {}
         for column_mapping in self._mapping: