use utc timezone
This commit is contained in:
parent
b8741b3713
commit
fe707e4569
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue