Post

Replies

Boosts

Views

Activity

Comment on DateFormatter vs leap seconds
Thanks for the correction and the reference to SE-0329! Some really interesting ideas to read there. But you are right of course, what I meant is that Date.timeIntervalSinceReferenceDate.rounded(.down) will only return 86400 different numbers every UTC day (assuming your device's system time is always perfectly synced and doesn't jump etc.)
Jul ’22