mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-12-23 02:10:15 +00:00
use TZ environ for scheduler
This commit is contained in:
parent
7e97284374
commit
3cc5db7ad1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user