From a835ed7b3ebe5d57d7164940fc0c9fa024ed08f1 Mon Sep 17 00:00:00 2001 From: Trowbridge Date: Tue, 25 Feb 2020 12:03:11 -0500 Subject: [PATCH] date format --- route_sql/list_changes.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/route_sql/list_changes.sql b/route_sql/list_changes.sql index 50e79b9..115740e 100644 --- a/route_sql/list_changes.sql +++ b/route_sql/list_changes.sql @@ -3,7 +3,7 @@ agg as ( SELECT ol.doc->>'user' "user" ,quota_rep_descr - ,to_char((ol.doc->>'stamp')::timestamptz,'DD/Mon HH:MI:SS') stamp + ,to_char((ol.doc->>'stamp')::timestamptz,'Mon-DD HH:MI:SS') stamp ,ol.doc->>'tag' tag ,ol.doc->>'message' "comment" ,jsonb_pretty(ol.doc) doc