News for hackers. Stuff that matters.
Re:We now consider Moment.js to be a legacy project in maint... by gandutraveler on Tuesday September 15, 2020 @05:04AM (#24479240)
I see that immutability is major concern for backward incompatibility, however over years I've become so much used to moment js that I wish I can still use their API's. Can someone explain why is it so hard to release a completely new version that isn't backward compatible? We could as well use different naming so that it doesn't conflict with last versions. moment3().now()
Re:We now consider Moment.js to be a legacy project in maint... by bettem on Tuesday September 15, 2020 @05:43AM (#24479455)
That’s effective what day.js is. Its effectively an identical api and is incredibly lightweight in comparison with opt-in extensions.
Re:We now consider Moment.js to be a legacy project in maint... by sparsely on Tuesday September 15, 2020 @05:17AM (#24479310)
I think the suggestion is just use Luxon - the apis are a bit different but there isn't really need for another library