Force ISO8601 date format for locale 'en'

This commit is contained in:
Raphael Michel
2016-10-01 12:32:07 +02:00
parent c5831753f6
commit 4feeab35e4
4 changed files with 6 additions and 0 deletions

View File

View File

@@ -0,0 +1,2 @@
SHORT_DATE_FORMAT = 'Y-m-d'
SHORT_DATETIME_FORMAT = 'Y-d-m P'

View File

@@ -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')),