7 ms·
I tried to create a date object in Swift from the date October 5, 1582. The resultant date object was October 15th 1582.
by laveur 1mo ago
I tried to create a date object in Swift from the date October 5, 1582. The resultant date object was October 15th 1582.
- Cthulhu_ 1mo agoThis 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.
- pasc1878 1mo agoWhy is that weird. They are both using Apple code - Swift probably has to meet Objective C dates or even uses the Objective C date functions.