Fabio Manganiello on Nostr: as my solution would be easy: time(). This isn’t the first painful migration of ...
as my solution would be easy: time().
This isn’t the first painful migration of timestamps that I’ve had to deal with. And I’m starting to ask myself why we even need abstractions like Instant and datetime when everything could be stored as a time(). It can be converted on the fly to whatever the user wants to see, but all the logic and all the comparisons should probably *always* be between UNIX timestamps.
This isn’t the first painful migration of timestamps that I’ve had to deal with. And I’m starting to ask myself why we even need abstractions like Instant and datetime when everything could be stored as a time(). It can be converted on the fly to whatever the user wants to see, but all the logic and all the comparisons should probably *always* be between UNIX timestamps.