use utc timezone

This commit is contained in:
slonkaphone 2024-12-30 01:03:28 +03:00
parent b8741b3713
commit fe707e4569

View file

@ -44,7 +44,7 @@ case "$action" in
;;
posts)
db_rows "SELECT * FROM posts" |
db_rows "SET TIME ZONE 'UTC'; SELECT * FROM posts" |
jq -r 'map([.contents, .username, .ts, null, 0]) | select(. != [])'
exit
;;