Elektrine lite

← Feed

@daniel@social.telemetrydeck.com

Post #2686034

2026-04-24 12:28 UTC

@ashfurrow@tenforward.social aah I saw this too late, but I do a lot of work with dateformatters and I've also seen this behaviour, so I comiserate. I have no clue as to the root cause, but what I've taken to doing is explicitly enabling fractional seconds for the formatter, and that seems to help: let formatter = ISO8601DateFormatter() formatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds]

Replies (1)