mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-29 17:36:49 +01:00
0f53afc5a6
It is possible to set default format for date/datetime inputs. This works together with standard django localization. # django settings USE_I18N = True LANGUAGE_CODE = 'sl' # wagtail settings WAGTAIL_DATE_FORMAT = '%d.%m.%Y.' WAGTAIL_DATETIME_FORMAT = '%d.%m.%Y. %H:%M' DateBlock, DateTimeBlock accepts additional keyword argument `format`. |
||
---|---|---|
.. | ||
api | ||
customisation | ||
i18n | ||
images | ||
deploying.rst | ||
index.rst | ||
jinja2.rst | ||
performance.rst | ||
privacy.rst | ||
settings.rst | ||
testing.rst | ||
third_party_tutorials.rst |