Closed manishoo closed 7 years ago
I have this issue too. Please fix it guys. :smile:
how to get Gregorian dates from jalali date-picker in material-ui?
@mehdijjz @saeedjalali1 @soolmaz If this is still relevant I've managed to solve it. There are still a few errors remaining, like year selection and year formatting. But it works for a couple of years before and after today.
I've built a repository and submitted a PR here. Help me test the correctness please.
when i change locale in react-native datepicker, material ui not working what can i do ?
@ak14350 We don’t support react-native?
Description
when the locale is set to fa-IR (or maybe some other locales too), although the dates are correct but the order of them is not correct. for example in gregorian calendar it always starts with the first day of month but in jalali it starts with the day equivalent to first day of month in gregorian, like 9 of Azar.
Images & references
in gregorian (en-US): in jalaali (fa-IR)
We're planning on using this in a big enterprise market, so this is very important for us. thanks for all your great efforts and hard work.
Versions