Skip to content

Commit

Permalink
Set the Timezone and Language via environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
proffalken committed Aug 21, 2024
1 parent 8ab168e commit 999df5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions memberportal/membermatters/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,9 +330,9 @@
# Internationalization
# https://docs.djangoproject.com/en/2.0/topics/i18n/

LANGUAGE_CODE = "en-au"
LANGUAGE_CODE = os.getenv("MM_LANGUAGE_CODE", "en-au")

TIME_ZONE = "Australia/Brisbane"
TIME_ZONE = os.getenv("MM_TIME_ZONE", "Australia/Brisbane")
USE_I18N = True
USE_L10N = True
USE_TZ = True
Expand Down

0 comments on commit 999df5c

Please sign in to comment.