NSDate().timeIntervalSince1970 returns a TimeInterval which claims 'sub-millisecond precision over a range of 10,000 years' - so is this just ISO 8601 being annoying about fractional seconds?
TimeInterval | Apple Developer Documentation
A number of seconds.
developer.apple.com
forums.swift.org/t/iso8601dat...
oh boy - turns out enabling that option makes the milliseconds *mandatory*
ISO8601DateFormatter fails to parse a valid ISO-8601 date
When encoding iso8601 dates you might want careful control of the format. When decoding iso8601 dates I think you want a lenient parser, especially if you're writing a parser that will be the default ...
forums.swift.org
Samuel
@samuel.fm
I think I could probably do that in my case, but that's so stupid
1 5