Editorial question105.6K views2,502 votes0 answers3,168 following
AI-generatedcljs-time parses ISO8601 offset string to wrong epoch milliseconds
When I parse an ISO8601 string that includes an explicit offset, the resulting inst epoch milliseconds do not match the expected UTC value. For example, "2023-12-31T23:59:59-05:00" should correspond to epoch ms 1704067199000, but the value returned is off by the offset amount. My understanding is that cljs-time delegates to JavaScript Date parsing, which may