mui / material-ui-pickers

Date & Time pickers for Material UI (support from v1 to v4)
https://github.com/mui/material-ui-pickers/issues/2157
MIT License
2.32k stars 832 forks source link

gregorian calander #55

Closed soroushm closed 6 years ago

soroushm commented 6 years ago

Dear Friends,

Do You have any plane to using moment-jalali for Gregorian ? if answer is no i wanna take that part with your help https://github.com/soroushm/material-ui-pickers-jalali BR,

dmtrKovalenko commented 6 years ago

Actually I dont know is there any smooth way to support gregorian lanuguge? Maybe it would be more useful if we create something like plugin with a peer of material-ui-pickers that would use moment-jalali?

sakulstra commented 6 years ago

Not sure, but would it work when passing moment as a prop? (This could also solve the i18n problems of #8) Then one could instead pass an instance of moment-jalali, but it's a really uneducated idea - nur sure if moment <-> moment-jalali behave exactly the same.

dmtrKovalenko commented 6 years ago

🎉 Published in 1.0.0-beta.5