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

[DatePicker] October turns into September for some years when localized #7399

Closed
amangeot opened this issue Jul 10, 2017 · 5 comments
Closed
Labels
component: date picker This is the name of the generic UI component, not the React module!

Comments

@amangeot
Copy link

Hello,
There is a funny issue with some dates in DatePicker component when it is localized. Some years display "October" as "September" around 1990.

You can see it on the demo, going for the localized examples, with "fr locale" for example. Select year 1990, and go for September, then October:
http://www.material-ui.com/#/components/date-picker

Tested on Windows 10, Chrome

@mbrookes
Copy link
Member

I can't reproduce, but I'm in the UK, so wondering if its (also?) related to this #7070 ? I know we have other open issues for similar problems. I couldn't find the one I was looking for.

DatePicker & TimePicker need an overhaul for next, but they're big hairy components, so no-one has tried to tackle them yet...

@MathieuCh
Copy link

An user of our platform just reported this issue with fr as locale language, In 1995 the month of october is named september. (Tested on Windows 8.1, Chrome)

Weird issue 👍

@franciscocpg
Copy link

Same for me

pt-BR locale

image

fr locale

image

en locale

image

It doesn't make any sense that days are "changing" because of locale. After all, it's the same gregorian calendar, right?

@oliviertassinari oliviertassinari added the component: date picker This is the name of the generic UI component, not the React module! label Jul 14, 2017
@NonameSLdev
Copy link

NonameSLdev commented Jul 23, 2017

Huh. I'm getting even odder behaviour:

(If you missed the point: July, August, August, September, November)

@oliviertassinari
Copy link
Member

Closing for #4787

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: date picker This is the name of the generic UI component, not the React module!
Projects
None yet
Development

No branches or pull requests

6 participants