Hacker News new | ask | show | jobs
by joenathanone 1065 days ago
Tech debt, a bunch of fundamental code that is hardcoded to process dates in the one format and would completely break everything if you passed it a date formatted otherwise. Dates are hard.
2 comments

If for some reason you had to handle dates as strings everywhere and parse them yourself, then sure. But you should be able to pass and store Date objects or Unix timestamps internally, and then call established helpers to display them.
1Password 8 was a new code base.