4 ms·
Both Golang (official time package) and Rust (Chrono) have built in tools for dealing with RFC 3339 but not for RFC 8601. IIRC I read about issues with ambigui
by rendaw 3y ago
Both Golang (official time package) and Rust (Chrono) have built in tools for dealing with RFC 3339 but not for RFC 8601. IIRC I read about issues with ambiguity in RFC 8601 not present in RFC 3339, and again IIRC Python had issues round-tripping dates because of this.
- Alupis 3y agoInteresting. This is the first time I'm even hearing of RFC 3339. ISO 8601 is just taken for granted everywhere... languages, tools and services (databases, etc). Admittedly I've not worked with Golang or Rust, and my Python has been limited to scripting more than developing.
- pdw 3y agoAlmost everything that claims to implement ISO 8601 actually implements RFC 3339 instead.
- rowanseymour 3y agoI think a lot of people assume ISO 8601 just means 2023-08-31 / 2023-08-31T14:55:30Z.. if only
- cryptonector 3y agoIt's ISO 8601, not RFC 8601 (which is `Message Header Field for Indicating Message Authentication Status`).
- verandaguy 3y agoIn fairness, it's doubtful that either Go's or Rust's time-handling facilities would implement support for an email auth header.