News for hackers. Stuff that matters.
Re:Jiff 1.0: A datetime library for Rust by BrandoElFollito on Tuesday November 17, 2026 @04:47AM (#50529386)
I am trying to find a case where a time without a date would be useful. The only one I can think about are analog monotonic clocks.

In any other case I can think of, you need to attach the time to a date and a timezone. You can display it bare in the context of the viewer (who has an implicit or explicit timezone and time reference) but any manipulation without these will not end well.

Would you have some examples for the poor representation of data and surprise behaviour?

Re:Jiff 1.0: A datetime library for Rust by the__alchemist on Tuesday November 17, 2026 @07:14AM (#50530375)
What datetime is your birthday? What time is your Monday alarm clock set for?

There are so many, and sometimes Arrow/Moment's abstraction is OK. Other times it's awkward as it overconstrains. Sometimes it has surprising behavior.

Re:Jiff 1.0: A datetime library for Rust by GoblinSlayer on Wednesday November 18, 2026 @05:02AM (#50544263)
>What datetime is your annual birthday celebration?

Doesn't that belong to a scheduler library?