top | item 43988603

(no title)

skullone | 9 months ago

Lots of words to say "use already available time libraries and use ISO time formatting". Cool story bruh. And really really terrible way to communicate one of the most beaten to death categories with that site design

discuss

order

crote|9 months ago

Most time libraries - especially the stdlib ones - are broken in various subtle ways. ISO time formatting is neat, but only works for past events.

Your approach is usually going to be sufficient-ish for timestamping past events - which is most applications. But try to build a calendar, and you'll quickly notice that it simply doesn't work that way.