-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Description
Description:
Currently, the date picker uses a hardcoded day/month/year order which doesn't respect user locale preferences.
Key Changes:
- Added useLocaleOrdering flag to respect system locale date format
- Defaults to false to maintain current behavior
- Supports MDY, DMY, and YMD formats based on user locale
- Includes sample implementation and tests
Motivation:
Different cultures have different conventions for displaying dates
Some locales use day-month-year (DMY) order (e.g., UK, Europe)
Others use month-day-year (MDY) order (e.g., US)
Some use year-month-day (YMD) order (e.g., East Asia)
I can do a PR that adds support for automatic locale-based date ordering while maintaining backward compatibility. What do you think about this?
eldoradoli
Metadata
Metadata
Assignees
Labels
No labels