• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

I Like Kill Nerds

The blog of Australian Front End / Aurelia Javascript Developer & brewing aficionado Dwayne Charrington // Aurelia.io Core Team member.

  • Home
  • Aurelia 2
  • Aurelia 1
  • About
  • Aurelia 2 Consulting/Freelance Work

Moment.js Officially Becomes A Legacy Project In Maintenance Mode

Javascript · September 15, 2020

Well, here is an announcement that probably won’t surprise anyone who has used Moment in the last few years, especially trying to get the size of it down in your Webpack configuration. The Moment.js team has announced it is now a legacy project in maintenance mode.

 It is not dead, but it is indeed done.

The Moment team poetically declares, “We now generally consider Moment to be a legacy project in maintenance mode. It is not dead, but it is indeed done.” Which means, we’ll fix any serious issues (security concerns, etc) but new features or changes are off the table.

I moved over to date-fns quite a long time ago which I equate to being the Lodash of date libraries. It’s small, tree shakeable and can work with the Intl API for internationalisation. Moment.js hasn’t really been a viable option for most circumstances for a few years now.

Moment came at a time where the Javascript ecosystem definitely needed a date/time library, for quite a long time, Moment was as good as it was going to get. Fortunately, browsers and working groups have evolved to the point where dates and times (while still not easy) are a lot easier than they were. The lack of tree shaking is one of the biggest downsides to Moment.

Just like jQuery greatly contributed to modern Javascript API’s, Moment has been instrumental in highlighting the importance and providing a stepping stone for developers to feel less pain working with dates and times, especially timezones. RIP Moment.js.

Dwayne

Leave a Reply Cancel reply

1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Mark Roeling
Mark Roeling
1 year ago

Worth mentioning that in the original MomentJS article, they mention a couple of alternatives (including date-fns).

0

Primary Sidebar

Popular

  • How To Get The Hash of A File In Node.js
  • Testing Event Listeners In Jest (Without Using A Library)
  • Which Neural DSP Archetype Plugins Should You Buy?
  • NBN Box Installed Inside of Garage, Where Do You Put The Modem?
  • Smoke Detector Randomly Goes Off Early Hours of The Morning
  • How to Use Neural DSP Archetype Plugins With the Quad Cortex
  • How to Fast Launch Microsoft Flight Simulator 2020 (decrease game loading time)
  • Wild Natural Deodorant Review
  • How To Install Eufy Security Cameras Without Drilling or Using Screws
  • Perfectly Smoked Steak On A Charcoal BBQ Using Indirect Heat

Recent Comments

  • Thebe on How to Remove the My Sites Menu From the WordPress Admin Bar
  • Maccas worker jn the 2000s on Dear McDonald’s: bring back the Warm Cookie Sundae, you cowards
  • Anamika Singh on Testing Event Listeners In Jest (Without Using A Library)
  • Stefan on A List of WordPress Gutenberg Core Blocks
  • pandammonium on A List of WordPress Gutenberg Core Blocks

Copyright © 2022 · Dwayne Charrington · Log in

wpDiscuz