Moving From Moment.js To The JS Temporal API

hello@smashingmagazine.com (Joe Attardi)
2026-03-13T13:00:00.000Z

The way JavaScript handles time has evolved significantly, from the built-in `Date` API to Moment.js and now Temporal. The new standard fills gaps in the original `Date` API while addressing limitations found in Moment and other libraries. Joe Attardi shares practical “recipes” for migrating Moment-based code to the new Temporal API.