Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah a lot of these popular libraries - including Moment, Luxon, Day.js - commit the sin of using a single type of object for distinct concepts. Absolute time, civil time? Basically the same thing right? Just shoehorn them both in.


I can understand why JS' Date is the way it is, but Moment, and even more so Luxon and Day.js, have no excuses - Joda Time has been around since what, 2005?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: