Skip to content

Sometimes there is no alternative to Moment.js #105

Closed
@Wernfried

Description

@Wernfried

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions