Some checks failed
Native <input type="date"> defers display format to the browser's locale, which most engines pick up from the <html lang> attribute. Firefox is the exception — it ignores lang and uses the OS locale instead (Mozilla bug #1344625, still open). So FR users on Firefox still saw mm/dd/yyyy even after the lang fix from earlier this week. Swap to flatpickr for both the customer storefront enrollment page and the staff terminal enrollment page. Configure: - dateFormat: 'Y-m-d' (what gets sent to the API — ISO, what Pydantic's date field expects) - altInput: true (flatpickr creates a separate visible input) - altFormat: 'd/m/Y' (what the user sees — universal in Europe) - locale: current_language (FR/DE/LB month + day names) - maxDate: 'today' (no future birthdays) Load flatpickr core + the optional locale JS via the existing {% block extra_head %} / {% block extra_scripts %} hooks. The loyalty/store/enroll.html template didn't have those blocks before, added them in the same commit. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>