mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-04 21:49:33 +00:00
use TZ environ for scheduler
This commit is contained in:
@@ -18,6 +18,7 @@ services:
|
||||
- TA_USERNAME=tubearchivist
|
||||
- TA_PASSWORD=verysecret
|
||||
- ELASTIC_PASSWORD=verysecret
|
||||
- TZ=America/New_York
|
||||
depends_on:
|
||||
- archivist-es
|
||||
- archivist-redis
|
||||
|
||||
@@ -116,7 +116,7 @@ AUTH_USER_MODEL = "home.Account"
|
||||
# https://docs.djangoproject.com/en/3.2/topics/i18n/
|
||||
|
||||
LANGUAGE_CODE = "en-us"
|
||||
TIME_ZONE = "UTC"
|
||||
TIME_ZONE = environ.get("TZ") or "UTC"
|
||||
USE_I18N = True
|
||||
USE_L10N = True
|
||||
USE_TZ = True
|
||||
|
||||
Reference in New Issue
Block a user