diff --git a/paperless.conf.example b/paperless.conf.example index 3fb6ceb4b..2e7a79745 100644 --- a/paperless.conf.example +++ b/paperless.conf.example @@ -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 + diff --git a/src/paperless/settings.py b/src/paperless/settings.py index e90099ae3..4dcfd0ab1 100644 --- a/src/paperless/settings.py +++ b/src/paperless/settings.py @@ -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