diff --git a/blogin.sh b/blogin.sh index f2f196e..8aa3559 100644 --- a/blogin.sh +++ b/blogin.sh @@ -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 ;;