瀏覽代碼

[indexer] Use tdate instead of date when choosing types

Abraham Elmahrek 11 年之前
父節點
當前提交
c640bf2
共有 1 個文件被更改,包括 1 次插入1 次删除
  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