Re:Jiff 1.0: A datetime library for Rust
by hermitdev on Monday November 16, 2026 @06:49PM
(#50525292)
As someone who has worked with implementing date/time functionality before, I'm empathize. Getting APIs "right" is hard, and getting it wrong is easy because there's so many ways to get it wrong. Especially when you start getting into something like handling something like daylight saving time, which is inherently political and changes arbitrarily over time. I've spent most of my career in finance. I distinctly remember near shouting matches over what it meant to add "1 day" to a datetime. Does it mean adding 24 hours? Or, does it mean give me the same time of day tomorrow? What happens if tomorrow is the other side of a DST change? These seems like trivial questions, but matter if you're talking about, say physical delivery of oil or gas at a set rate per hour.
Re:Jiff 1.0: A datetime library for Rust
by democracy on Monday November 16, 2026 @07:30PM
(#50525734)
I learnt not to say "shit code" in public since quite often the history would point at my changes after investigation lol
Re:Jiff 1.0: A datetime library for Rust
by masklinn on Tuesday November 17, 2026 @04:37AM
(#50529329)
Honestly it’s the best case of having called something shit code, it means you’ve improved enough to recognise its faults, and at most you’re hurting your own feelings and nobody else’s.
Re:Jiff 1.0: A datetime library for Rust
by lifthrasiir on Monday November 16, 2026 @07:43PM
(#50525841)
I'm fine, actually. There is a joke that every successful programming language creator would spend next decades fixing faults in one's language. I feel that applies to every successful software as well...
Thank you so much for building something that was obviously good enough to sustain the community for 12 years <3