mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Force ISO8601 date format for locale 'en'
This commit is contained in:
0
src/pretix/helpers/formats/__init__.py
Normal file
0
src/pretix/helpers/formats/__init__.py
Normal file
0
src/pretix/helpers/formats/en/__init__.py
Normal file
0
src/pretix/helpers/formats/en/__init__.py
Normal file
2
src/pretix/helpers/formats/en/formats.py
Normal file
2
src/pretix/helpers/formats/en/formats.py
Normal file
@@ -0,0 +1,2 @@
|
||||
SHORT_DATE_FORMAT = 'Y-m-d'
|
||||
SHORT_DATETIME_FORMAT = 'Y-d-m P'
|
||||
@@ -232,6 +232,10 @@ LOCALE_PATHS = (
|
||||
os.path.join(os.path.dirname(__file__), 'locale'),
|
||||
)
|
||||
|
||||
FORMAT_MODULE_PATH = [
|
||||
'pretix.helpers.formats',
|
||||
]
|
||||
|
||||
LANGUAGES = [
|
||||
('en', _('English')),
|
||||
('de', _('German')),
|
||||
|
||||
Reference in New Issue
Block a user