diff --git a/CHANGELOG.md b/CHANGELOG.md index 69c904c..0992783 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 2.2.2 (2020-03-31) + +- add column type: time with time zone and time without time zone + ## 2.2.1 (2020-02-13) - improve display of text arrays diff --git a/data_sets/data_set.py b/data_sets/data_set.py index e8654de..fd0175b 100755 --- a/data_sets/data_set.py +++ b/data_sets/data_set.py @@ -83,7 +83,8 @@ def columns(self) -> {str: Column}: type = 'text' elif column_type in ['bigint', 'integer', 'real', 'smallint', 'double precision', 'numeric']: type = 'number' - elif column_type in ['timestamp', 'timestamp with time zone', 'timestamp without time zone', 'date']: + elif column_type in ['timestamp', 'timestamp with time zone', 'timestamp without time zone', + 'time with time zone', 'time without time zone', 'date']: type = 'date' elif column_type in ['json', 'jsonb']: type = 'json' diff --git a/setup.py b/setup.py index 729f66e..a107a0e 100755 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name='data-sets', - version='2.2.1', + version='2.2.2', description='Flask based UI for displaying & segmenting a single database table',