Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

picker title format request... #81

Open
Neptunium1129 opened this issue Dec 5, 2023 · 4 comments
Open

picker title format request... #81

Neptunium1129 opened this issue Dec 5, 2023 · 4 comments

Comments

@Neptunium1129
Copy link

Neptunium1129 commented Dec 5, 2023

image

need an option to change the location format title

now : mm - yyyy
kor : yyyy - mm (2023 - 11)

In Korea, when reading the calendar, they often start with the year. For example, instead of saying "April 5th, 2023," they might say "2023 April 5th." This format prioritizes the year before the month and day.

@Neptunium1129
Copy link
Author

@probablykasper
Copy link
Owner

Makes sense. From that datepicker, zh-TW, zh-CN, ja, ko and ar have the year first. Would be good to find a full list somewhere.

Implementation: Add a monthFirst property to InnerLocale. Add code property to DateFnsLocale object and use that to infer monthFirst in localeFromDateFnsLocale()

@Neptunium1129
Copy link
Author

Makes sense. From that datepicker, zh-TW, zh-CN, ja, ko and ar have the year first. Would be good to find a full list somewhere.

Implementation: Add a monthFirst property to InnerLocale. Add code property to DateFnsLocale object and use that to infer monthFirst in localeFromDateFnsLocale()

Can I see an example?

@sinbino
Copy link

sinbino commented Dec 21, 2023

I need this too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants