mirror of https://github.com/snachodog/mybuddy.git
Provide default when USE_24_HOUR_TIME_FORMAT is not set (#148)
This commit is contained in:
parent
4d71f9c5ec
commit
aa261616a9
|
@ -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']
|
||||
|
||||
|
|
Loading…
Reference in New Issue