Procházet zdrojové kódy

[indexer] Use tdate instead of date when choosing types

Abraham Elmahrek před 11 roky
rodič
revize
c640bf22dd
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      desktop/libs/indexer/src/indexer/utils.py

+ 1 - 1
desktop/libs/indexer/src/indexer/utils.py

@@ -103,7 +103,7 @@ def get_field_types(row):
   test_fns = [('int', int),
               ('float', float),
               ('boolean', test_boolean),
-              ('date', test_timestamp)]
+              ('tdate', test_timestamp)]
   field_types = []
   for field in row:
     field_type = None