Fix query tool display of various types:

date
reltime
abstime
time with timezone
time without timezone
This commit is contained in:
Murtuza Zabuawala
2016-07-15 11:59:45 +01:00
committed by Dave Page
parent 1a129cf30e
commit 517a797947

View File

@@ -1555,9 +1555,16 @@ define(
case "numeric": case "numeric":
col_cell = 'number'; col_cell = 'number';
break; break;
case "date":
case "reltime":
case "abstime":
case "timestamp without time zone": case "timestamp without time zone":
case "timestamp with time zone": case "timestamp with time zone":
col_cell = 'datetime'; case "time with time zone":
case "time without time zone":
col_cell = Backgrid.DatetimeCell.extend({
formatter: Backgrid.StringFormatter,
});
break; break;
case "json": case "json":
case "json[]": case "json[]":