From 608a0b8414969702d70b4dcf0baa66f1b7fb20cf Mon Sep 17 00:00:00 2001 From: hveficent Date: Mon, 23 Sep 2019 16:58:22 +0200 Subject: [PATCH] change SQL mapping for date --- bi_sql_editor/models/bi_sql_view_field.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bi_sql_editor/models/bi_sql_view_field.py b/bi_sql_editor/models/bi_sql_view_field.py index 10baf329..18367842 100644 --- a/bi_sql_editor/models/bi_sql_view_field.py +++ b/bi_sql_editor/models/bi_sql_view_field.py @@ -45,7 +45,7 @@ class BiSQLViewField(models.Model): 'numeric': 'float', 'text': 'char', 'character varying': 'char', - 'date': 'datetime', + 'date': 'date', 'timestamp without time zone': 'datetime', }