Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes there is no alternative to Moment.js #105

Open
Wernfried opened this issue Jan 29, 2021 · 1 comment
Open

Sometimes there is no alternative to Moment.js #105

Wernfried opened this issue Jan 29, 2021 · 1 comment

Comments

@Wernfried
Copy link

Wernfried commented Jan 29, 2021

Moment.js can be still a useful (and perhaps even the only) library.

JavaScript is a widely used language, not only used by web-browsers.
Most alternative libraries require access to the internet in order to connect to the IANA timezone database and/or rely on Intl Object.

When you use for example mongo shell then

  • you don't have connection to the internet
  • the shell does not support Intl object. The new mongosh is still in beta-phase
  • you don't care about a 300k library. With MongoDB scripts you process much larger documents. Other popular libraries like Node.js or mongoose are even larger.

I am really happy that moment.js is still maintained. So far I did not find any suitable alternative library.

@Jogai
Copy link
Contributor

Jogai commented Feb 27, 2021

According to their own docs, the maintenance is minimal: https://momentjs.com/docs/ (I would have called it life-support)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants