Y
Hacker News
new
|
ask
|
show
|
jobs
by
laveur
119 days ago
I tried to create a date object in Swift from the date October 5, 1582. The resultant date object was October 15th 1582.
1 comments
Cthulhu_
119 days ago
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.
link
pasc1878
118 days ago
Why 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.
link