ngx-moment VS datetime-rs

Compare ngx-moment vs datetime-rs and see what are their differences.

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
ngx-moment datetime-rs
1 1
1,174 25
- -
0.0 0.0
8 months ago almost 10 years ago
TypeScript Rust
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

ngx-moment

Posts with mentions or reviews of ngx-moment. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-18.
  • You don't (may not) need Moment.js
    10 projects | news.ycombinator.com | 18 Sep 2021
    Yep, indeed there are ways to migrate, but it's not necessarily easy. For instance in my last project, we used moment-timezone, and integrated other libraries such as https://github.com/urish/ngx-moment to format date/times in component templates. Of course it's possible to move away from that, but it would take time away from more useful work.

datetime-rs

Posts with mentions or reviews of datetime-rs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-18.
  • You don't (may not) need Moment.js
    10 projects | news.ycombinator.com | 18 Sep 2021
    Yep! Most examples in the Rust cookbook[0] uses chrono[1].

    But note that before Chrono there were other time libraries; one of them was called time[2] - IIRC it was created from code removed from Rust's stdlib std::time[3]. It eventually proved to be the best decision: designing a good API is a hard effort, and any design was prone to have mistakes and warts.

    Chrono provides interoperability with both std::time and the time crate. It acknowledges other datetime crates that it was inspired, like datetime-rs[3] which itself was inspired by Joda time.

    [0] https://rust-lang-nursery.github.io/rust-cookbook/datetime.h...

    [1] https://crates.io/crates/chrono

    [2] https://crates.io/crates/time

    [3] https://github.com/depp/datetime-rs

What are some alternatives?

When comparing ngx-moment and datetime-rs you can also consider the following projects:

dayjs - ⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API

You-Dont-Need-Momentjs - List of functions which you can use to replace moment.js + ESLint Plugin

vo

Sherlock - Natural-language event parser for Javascript

js-joda - :clock2: Immutable date and time library for javascript

proposal-temporal-v2 - Future additions to Temporal

cv - Tony Narlock's Resume (React)