Merge pull request #138

feat: add TZ env var
This commit is contained in:
Herculino Trotta
2025-02-07 11:29:48 -03:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -1,6 +1,8 @@
SERVER_NAME=wygiwyh_server
DB_NAME=wygiwyh_pg
TZ=UTC # Change to your timezone. This only affects some async tasks.
DEBUG=false
URL = https://...
HTTPS_ENABLED=true

View File

@@ -166,7 +166,7 @@ LANGUAGES = (
("pt-br", "Português (Brasil)"),
)
TIME_ZONE = "UTC"
TIME_ZONE = os.getenv("TZ", "UTC")
USE_I18N = True