mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Make timezone configurable
This commit is contained in:
parent
bee0867a2a
commit
e6526d3fd4
@ -102,3 +102,6 @@ PAPERLESS_SHARED_SECRET=""
|
||||
# as is "example.com,www.example.com", but NOT " example.com" or "example.com,"
|
||||
#PAPERLESS_ALLOWED_HOSTS="example.com,www.example.com"
|
||||
|
||||
# Override the default UTC time zone here
|
||||
#PAPERLESS_TIME_ZONE=America/Los_Angeles
|
||||
|
||||
|
@ -157,7 +157,7 @@ AUTH_PASSWORD_VALIDATORS = [
|
||||
|
||||
LANGUAGE_CODE = 'en-us'
|
||||
|
||||
TIME_ZONE = 'UTC'
|
||||
TIME_ZONE = os.getenv("PAPERLESS_TIME_ZONE", "UTC")
|
||||
|
||||
USE_I18N = True
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user