News for hackers. Stuff that matters.
Re:Dates and Times in JavaScript – A New API for Dates from ... by TheCoelacanth on Thursday July 09, 2020 @02:35PM (#23783473)
This. They already copied the crappy date API from Java. Why not copy the good one too?
Re:Dates and Times in JavaScript – A New API for Dates from ... by eropple on Thursday July 09, 2020 @02:46PM (#23783596)
I don't usually laugh at HN comments, but this is pretty good. And it's true. Joda-Time and its near relatives are just genuinely good. So much effort has gone into addressing so many edge and corner cases that it seems like a shame to not just tuck all that work under one's arm and steal it.
Re:Dates and Times in JavaScript – A New API for Dates from ... by needusername on Friday July 10, 2020 @01:37AM (#23788486)
I assume it doesn't help that Oracle is arguing in court that APIs should be copyrightable.