Hacker News new | past | comments | ask | show | jobs | submit
I tried to create a date object in Swift from the date October 5, 1582. The resultant date object was October 15th 1582.
This is (weirdly) in line with behaviour I've observed in iOS's date picker; if you set a block of dates as not available, and the selected date inside of that unavailable block, it will automatically select the first available date on open.