24 hour format on the stamp

This commit is contained in:
Paul Trowbridge 2020-02-25 16:49:46 -05:00
parent df02a31000
commit e05efeb1e2

View File

@ -3,7 +3,7 @@ agg as (
SELECT SELECT
ol.doc->>'user' "user" ol.doc->>'user' "user"
,quota_rep_descr ,quota_rep_descr
,to_char((ol.doc->>'stamp')::timestamptz,'Mon-DD HH:MI:SS') stamp ,to_char((ol.doc->>'stamp')::timestamptz,'Mon-DD HH24:MI:SS') stamp
,ol.doc->>'tag' tag ,ol.doc->>'tag' tag
,ol.doc->>'message' "comment" ,ol.doc->>'message' "comment"
,jsonb_pretty(ol.doc) doc ,jsonb_pretty(ol.doc) doc