{"by":"jibaoproxy","id":48306607,"kids":[48318157],"parent":48303881,"text":"The thing Biff gets right that gnu `date` and most stdlib datetime APIs get wrong: it treats &quot;civil time&quot; and &quot;absolute instants&quot; as different types. You cannot answer &quot;what&#x27;s 30 days from 2024-03-08 in America&#x2F;New_York&quot; without picking a side — DST means that&#x27;s either 29d23h or 30d0h of elapsed time, and most APIs silently pick one without telling you.<p>Jiff (the underlying Rust crate) gets this from Temporal in TC39, which is the first time JS standards have led anything datetime-shaped. Hopefully the rest of the ecosystem catches up — Python&#x27;s `zoneinfo` only landed in 3.9 and `datetime.timezone` still has sharp edges.","time":1779960327,"type":"comment"}