Provide default when USE_24_HOUR_TIME_FORMAT is not set (#148)

This commit is contained in:
Christopher C. Wells 2020-07-21 22:05:46 -07:00
parent 4d71f9c5ec
commit aa261616a9
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ USE_L10N = True
# conditionals on this setting. See babybuddy/forms/en/formats.py for an example
# implementation for the English locale.
USE_24_HOUR_TIME_FORMAT = strtobool(os.environ.get('USE_24_HOUR_TIME_FORMAT'))
USE_24_HOUR_TIME_FORMAT = strtobool(os.environ.get('USE_24_HOUR_TIME_FORMAT') or 'False')
FORMAT_MODULE_PATH = ['babybuddy.formats']