diff --git a/contao/templates/frontend/event_edit.html.twig b/contao/templates/frontend/event_edit.html.twig index 2a5522c..ed50503 100644 --- a/contao/templates/frontend/event_edit.html.twig +++ b/contao/templates/frontend/event_edit.html.twig @@ -255,9 +255,12 @@ if (typeof window.flatpickr === 'function') { const dateInputs = document.querySelectorAll('input.js-flatpickr-date'); dateInputs.forEach(function (input) { + // Gespeichert wird weiter ISO (Y-m-d); angezeigt und eingegeben wird deutsch (TT.MM.JJJJ) window.flatpickr(input, { locale: 'de', dateFormat: 'Y-m-d', + altInput: true, + altFormat: 'd.m.Y', allowInput: true }); });