fix: fix Application UI using UTC time (#472) bump:patch

* use tzlocal to get the local time

* delete tmp folder

* update date_created and date_updated with current timezone

* pass precommit

* update date_created field default by local time
This commit is contained in:
cin-cris
2024-11-11 16:51:38 +07:00
committed by GitHub
parent 6a81c77dd8
commit 5b828c213c
6 changed files with 22 additions and 14 deletions

View File

@@ -57,6 +57,7 @@ repos:
"types-requests",
"sqlmodel",
"types-Markdown",
types-tzlocal,
]
args: ["--check-untyped-defs", "--ignore-missing-imports"]
exclude: "^templates/"