Hacker News new | ask | show | jobs
by re 311 days ago
> Every date library you’ve ever used is lying to you.

I feel like you haven't used most date libraries.

https://docs.oracle.com/javase/8/docs/api/java/time/YearMont... / https://docs.python.org/3/library/datetime.html#date-objects / https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

1 comments

Java date/time handling is plain beautiful. I'm glad other languages like js started adopting the same approach.