File tree Expand file tree Collapse file tree 4 files changed +12
-0
lines changed
Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 126126]
127127
128128# Default format for date/time (as it changes between machines)
129+ # Keep in sync with util/formats/en/formats.py
129130DATETIME_FORMAT = "Y-m-d H:i:s"
130131DATE_FORMAT = "Y-m-d"
132+ TIME_FORMAT = "H:i:s"
133+
134+ FORMAT_MODULE_PATH = "pgweb.util.formats"
135+
136+
137+ # Django now needs these settings in a module, so duplicate them in both the
138+ # module and in settings.py to be on the safe side.
131139
132140# Configure recaptcha. Most details contain keys and are thus handled
133141# in settings_local.py. Override NOCAPTCHA to actually use them.
Original file line number Diff line number Diff line change 1+ # Note! Keep in sync with settings.py!
2+ DATETIME_FORMAT = "Y-m-d H:i:s"
3+ DATE_FORMAT = "Y-m-d"
4+ TIME_FORMAT = "H:i:s"
You can’t perform that action at this time.
0 commit comments