it seems in CalendarYear.js file and getYears method the min and max value for year range not localized .
1.declare const dtf_fa = Intl.DateTimeFormat;
<DatePicker hintText="Portrait Dialog" DateTimeFormat={dtf_fa} locale="fa-IR-u-ca-persian" />I have this problem too ,the day is not correct either ! e.g it says 22 tir while on the calendar 12 tir is active.
@alitaheri Any chance you could comment on this? Thanks.
I haven't used this component for my application nor have I used any other date pickers for this purpose. It would be great if this component could be tweaked to support Persian calendar system. I don鈥檛 really know how to do it though, I never touched this component, sorry folks :sweat_smile: :sweat_smile:
hi @mehdijjz
i made a patch for solve this issue . i'll send it as a PR asap .
@saeedtabrizi Any update on the PR?
I'm closing as I think it's a duplicate of #5101.
Most helpful comment
hi @mehdijjz
i made a patch for solve this issue . i'll send it as a PR asap .