Pārlūkot izejas kodu

change key value for date fromat in ParseMapping

tsteuer 4 gadi atpakaļ
vecāks
revīzija
a59f010cc1
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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: