Skip to content

Commit

Permalink
Fix timezone display issue in BioThings Hub
Browse files Browse the repository at this point in the history
  • Loading branch information
jal347 committed Dec 8, 2021
1 parent 783f8fa commit 47e1bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion biothings/hub/api/handlers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def write(self, result):
orjson.dumps({
"result": result,
"status": "ok"
}, option=orjson.OPT_NON_STR_KEYS).decode()
}, option=orjson.OPT_NON_STR_KEYS | orjson.OPT_NAIVE_UTC).decode()
)

def write_error(self, status_code, **kwargs):
Expand Down

0 comments on commit 47e1bb2

Please sign in to comment.