-
Notifications
You must be signed in to change notification settings - Fork 184
Fix/date picker format #729
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
Conversation
…er into fix/routing
…er into fix/routing
…er into fix/routing
…er into fix/date-picker-format
src/locales/id/datepicker.js
Outdated
| weekStartsOn: 1, // Monday is the first day of the week. | ||
| firstWeekContainsDate: 7, // The week that contains Jan 7th is the first week of the year. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amrirasyidi Please review
…er into fix/date-picker-format
…-browser into fix/date-picker-format
…-browser into fix/date-picker-format
src/locales/pt/datepicker.js
Outdated
|
|
||
| export default {dateFormat, timeFormat, dateTimeFormat, locale}; | ||
| // minimal override to support a custom 'min' width with two-letter weekday tokens | ||
| const minDayValues = ['Do', '2ª', '3ª', '4ª', '5ª', '6ª', 'Sá']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@psacra Are there the commonly used values for calendars / date pickers? The numbers look odd to me :-)
|
Merging, but reviews of our translators would still be highly appreciated! |
Notes:
French locale for Canada and Switzerland was using fr locale without any customization, but on date-fns they have separate locale for both Canada and Switzerland which has different configurations for example in Canada the week starts on Sunday do I live it has it is or mimic the previous approach even though we don't use french-canada 🍁 or french-switzerland 🇨🇭 locale.
For Italy locale for days on the previous is ['do', 'lu', 'ma', 'me', 'gi', 've', 'sa'] and on the new one is ["dom", "lun", "mar", "mer", "gio", "ven", "sab"] do you think we should change it or stick with this new select as it doesn't break UI as in the case of Indonesia date-fns locale.