forked from CGM_Public/pretix_original
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'),
|
os.path.join(os.path.dirname(__file__), 'locale'),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
FORMAT_MODULE_PATH = [
|
||||||
|
'pretix.helpers.formats',
|
||||||
|
]
|
||||||
|
|
||||||
LANGUAGES = [
|
LANGUAGES = [
|
||||||
('en', _('English')),
|
('en', _('English')),
|
||||||
('de', _('German')),
|
('de', _('German')),
|
||||||
|
|||||||
Reference in New Issue
Block a user