What is Nostr?
Jonathan Joelson /
npub1pky…f3gd
2023-12-21 14:59:21

Jonathan Joelson on Nostr: It seems most std libs don’t have a `Date` type because there isn’t much complex ...

It seems most std libs don’t have a `Date` type because there isn’t much complex logic associated with year/month/day. But this tends to result in devs storing dates in a `DateTime` type just because it’s standard, and bugs inevitably ensue when it’s time to execute logic on the date or display it.

A standard `Date` type would solve *so* many problems just by being a standard interchange format.
Author Public Key
npub1pkyv5tz2awyjzke0t2jvc32tesv84l9lgnekcnlyw28r28wdx65qdjf3gd