feat: add TZ env var

This commit is contained in:
Herculino Trotta
2025-02-07 11:29:28 -03:00
parent dd1d4292d3
commit 62bfaaa62a
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -1,6 +1,8 @@
SERVER_NAME=wygiwyh_server SERVER_NAME=wygiwyh_server
DB_NAME=wygiwyh_pg DB_NAME=wygiwyh_pg
TZ=UTC # Change to your timezone. This only affects some async tasks.
DEBUG=false DEBUG=false
URL = https://... URL = https://...
HTTPS_ENABLED=true HTTPS_ENABLED=true
+1 -1
View File
@@ -166,7 +166,7 @@ LANGUAGES = (
("pt-br", "Português (Brasil)"), ("pt-br", "Português (Brasil)"),
) )
TIME_ZONE = "UTC" TIME_ZONE = os.getenv("TZ", "UTC")
USE_I18N = True USE_I18N = True