You-Dont-Need-Momentjs
datetime-rs
Our great sponsors
You-Dont-Need-Momentjs | datetime-rs | |
---|---|---|
18 | 1 | |
13,223 | 25 | |
0.0% | - | |
5.7 | 0.0 | |
5 months ago | almost 10 years ago | |
JavaScript | Rust | |
MIT License | Apache License 2.0 |
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.
You-Dont-Need-Momentjs
- What is better, Date-fns or moment.js?
-
What are some of the best libraries you cannot work without?
It’s been a few years since I looked at moment.js, but you couldn’t tree-shake it properly back then. That’s when I found this: https://github.com/you-dont-need/You-Dont-Need-Momentjs
- Common Date formatter libraries in React (TypeScript)
-
Day.js - Fast 2kB alternative to Moment.js with the same modern API
Moment is considered a legacy project now. So you might want to rethink using it. Moment isn't as great as it used to be and native's capabilities are a lot more advanced that they were before.
-
Is it possible to switch from vue 2.6.10 to vuejs 3?
With the amount of different components you pulled in you will definitely get into trouble. Also, you have coreui, but next to that components that do the same? And also: https://github.com/you-dont-need/You-Dont-Need-Momentjs
- How do we work with the date and datetime in JS?
- MomentJS locale with Vite and Vue 3?
- List of functions which you can use to replace moment.js + ESLint Plugin
- You may not need Moment.js
datetime-rs
-
You don't (may not) need Moment.js
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?
dayjs - ⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API
Sherlock - Natural-language event parser for Javascript
import-maps - How to control the behavior of JavaScript imports
ngx-moment - moment.js pipes for Angular
date-fns - ⏳ Modern JavaScript date utility library ⌛️
proposal-temporal - Provides standard objects and functions for working with dates and times.
js-joda - :clock2: Immutable date and time library for javascript
proposal-temporal-v2 - Future additions to Temporal
scriptum - Functional Programming Unorthodoxly Adjusted to Client-/Server-side Javascript
vo