mantine icon indicating copy to clipboard operation
mantine copied to clipboard

DatePicker weekdays order with muslim/israel locale

Open Gallevy opened this issue 2 years ago • 4 comments

What package has an issue

@mantine/dates

Describe the bug

DatePicker doesn't start the week on the correct day for israel (and many more muslim countries)

Current @mantine/dates DatePicker: mantine-dates-original

As explained here: https://en.wikipedia.org/wiki/Workweek_and_weekend

Example from windows 10 on how it should look like: mantine-dates

As we can see, the week in Israel should start from א and not from ב weekendDays doesn't solve this issue since the calendar still starts the week on the wrong day. As far I checked, there is no current solution for this issue,

What version of @mantine/hooks page do you have in package.json?

5.2.4

If possible, please include a link to a codesandbox with the reproduced problem

No response

Do you know how to fix the issue

No response

Are you willing to participate in fixing this issue and create a pull request with the fix

No response

Possible fix

No response

Gallevy avatar Sep 03 '22 18:09 Gallevy

The issue will be resolved in 6.0 version

rtivital avatar Sep 03 '22 18:09 rtivital

Hey @rtivital, can I work on this?

dhrjarun avatar Sep 06 '22 15:09 dhrjarun

Hi @DhrjArun, this issue is already fixed in private dates revamp repository

rtivital avatar Sep 06 '22 15:09 rtivital

ok

dhrjarun avatar Sep 06 '22 17:09 dhrjarun

Fixed in 6.0

rtivital avatar Mar 03 '23 06:03 rtivital