Re:Jiff: A brand new Datetime library for Rust, from the aut...
by GoblinSlayer on Thursday July 25, 2024 @08:28AM
(#41067851)
I only saw DateTime.Now where StopWatch should be used and serialization inconsistency due to discrepancy in time zone database.
Re:Jiff: A brand new Datetime library for Rust, from the aut...
by Smaug123 on Friday July 26, 2024 @05:33PM
(#41082501)
So it's famously difficult to write a correct date-time handling program, but my empirical observation is that it's considerably easier with a library like Noda Time which actually attempts to model some of the domain beyond "ticks since the epoch".
Re:Jiff: A brand new Datetime library for Rust, from the aut...
by GoblinSlayer on Tuesday July 30, 2024 @02:20PM
(#41112421)
How noda prevents you from using utc instead of StopWatch?
Time handling is one of the many cases where there is actually complexity in the domain, and if you refuse to model the complexity, that doesn't make the complexity go away; it just means you've got bugs.