fix(dates): German DD.MM.YYYY dates and 24-hour times everywhere #41
No reviewers
Labels
No labels
bug
discussion
enhancement
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
edufeed/edufeed-app!41
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/issue-33-german-dates"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
EuropeanDateInputpicker (German masked text field + calendar popup) was only used in the OER metadata form. The create-event modal, the discover date-range filter and the publication form still used native<input type="date">, which renders in the browser locale — US-locale browsers showed MM/DD/YYYY. The event modal additionally used native<input type="time">, which shows a 12-hour clock (01:00 PM).Changes:
EuropeanDateInput(drop-in: binds the same ISOYYYY-MM-DDvalue, so form handling/validation is unchanged)EuropeanTimeInputfor the event modal times: 24-hourHH:MMmasked text field binding the sameHH:MMstring; lenient typing (9.30,930, bare13) normalizes on blur, invalid input shows a hintno-native-date-inputs.test.jsfails if a native date OR time input is ever reintroducedDD.MM.YYYY)Verification (screenshots attached to #33):
1330normalizes to13:30discover-events-filtere2e suite passes against a production build with seeded relayscalendar-creation/calendar-editinge2e suites fail on dev already due to stale FAB/event-menu selectors — tracked in #39, unrelated to this changeCloses #33
🤖 Generated with Claude Code
fix(dates): German DD.MM.YYYY date inputs everywhereto fix(dates): German DD.MM.YYYY dates and 24-hour times everywhere