-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Labels
Description
iOS user was experiencing a crash on opening datepicker:
NSRangeException
*** -[__NSArrayM objectAtIndex:]: index 9223372036854775807 beyond bounds [0 .. 1]
On some investigation the likely cause seems to be a non-Gregorian calendar setting (e.g. Buddhist), which changes the year from 2022 to something like 2565 BE
We are using v2.1.2 with a maxDate (which I suspect is causing the range exception)
I understand this is a rare use case, but wondering if there might be a simple fix that doesn't result in a crash