mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-07-02 11:01:34 +02:00
feat: add TZ env var
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user