Closed sinafath closed 6 months ago
I tested fifth to seventh day of every month it can't be selected
Looks like the issue is specifically with any of the months ahead of the current date, any of the months before the current date don't exhibit this issue. Possibly related to https://github.com/adobe/react-spectrum/issues/3757#issuecomment-1446846517, where it was noted that the isSameDay
helper util has problems comparing the persian dates with gregorian ones
Provide a general summary of the issue here
day selection won't work correct for Persian calendar
๐ค Expected Behavior?
If I select the fifth to seventh day of Mehr 1402 that range to be selected not another day
๐ฏ Current Behavior
please select the fifth to seventh day of Mehr 1402 in this Codesandbox example that I used to replicate the bug. to do this you have to go next month and select fifth and seventh day of the next month. but what you see now is another range date has been selected
๐ Possible Solution
๐ฆ Context
No response
๐ฅ๏ธ Steps to Reproduce
Codesandbox example
Version
What browsers are you seeing the problem on?
Firefox, Chrome
If other, please specify.
No response
What operating system are you using?
windows
๐งข Your Company/Team
No response
๐ท Tracking Issue
No response