News for hackers. Stuff that matters.
Re:The best programmers I know by aabaker99 on Wednesday April 09, 2025 @09:54AM (#43632154)
I still like Moment because it offers better control of time zones that aren’t the browsers time zone when compared to the builtin Date APIs.

Do you have a recommendation to replace Moment for that use case?

I’m hopeful for the future with JavaScript Temporal.

Re:The best programmers I know by microflash on Wednesday April 09, 2025 @10:56AM (#43632877)
dayjs is a similar library that I’ve used to replace Moment with minimal effort.
Re:The best programmers I know by g8oz on Wednesday April 09, 2025 @04:28PM (#43637534)
A maintainer of moment.js has moved on with an immutable rewrite called luxon.js. Highly recommended.

https://github.com/moment/luxon/blob/master/docs/why.md