|2 months ago||4 days ago|
|MIT License||GNU General Public License v3.0 or later|
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.
Computed in Vue3 with Objects
1 project | reddit.com/r/vuejs | 3 Dec 2021
If you need to manipulate the date -- like add or subtract days, special formats, etc. then a library is a good idea. I use date-fns, personally.
[AskJS] NPM package for regional date format?
I'd recommend date-fans since it operates on native date objects.
[HELP] Time elapsed since midnight breaks on days when DST changes
3 projects | reddit.com/r/node | 31 Oct 2021
This issue seems to indicate that date-fns has the same issue.3 projects | reddit.com/r/node | 31 Oct 2021
Would date-fns help to calculate?
15 projects | dev.to | 26 Oct 2021
React/Webpack: From MB to KB. How we solved our bundling problem
4 projects | dev.to | 20 Oct 2021
Second step was removing the “heavy” libraries, it was easy removing Moment.js, Bluebird. We replaced the first with date-fns and Bluebird with native promises. Lodash unfortunately because of time constraints we could not refactor into moving out from some “handy” utilities it provides but we are planning to.
Any bad experience with libraries such as date-fns.js or sugar.js (instead of moment.js) with Netsuite SuiteScript 2.X? (xposted from /r/Netsuite)
3 projects | reddit.com/r/SuiteScript | 18 Oct 2021
How I rebuilt my Angular blog and became an Astronaut 🚀
10 projects | dev.to | 12 Oct 2021
date-fns - Modern functional library for working with dates.
how can i create 9/30/2021 12:54:03 pm through moment js?
I would strongly recommend using date-fns instead. With date-fns you can just do:
How to Debug Cloudflare Workers with AppSignal
4 projects | dev.to | 22 Sep 2021
We'll build a simple POST request handler that calculates a person's age based on their date of birth. This POST handler will accept date information via JSON. We'll use the date-fns package to handle date calculations.
PHP creator: functions were named to fall into length buckets because function hash algo was 'strlen'
6 projects | reddit.com/r/programming | 22 Nov 2021
Temporal would reduce, but not eliminate, the need for moment, date-fns and luxon.
Peculiaridades do JS. Que não são erros! Nem esquisitice! - Date()
1 project | dev.to | 10 Nov 2021
View on GitHub
It turns out there's no comprehensive standard for date arithmetic.
1 project | reddit.com/r/ISO8601 | 28 Oct 2021
This exact issue was pointed out on some public comment, but this seemingly went nowhere. There's also discussion around its lack of algorithm for negative duration.
2 projects | dev.to | 21 Sep 2021
The limitations of Date are a big reason why developers are so excited about the new Temporal API. But don't write off the Date class completely. Believe it or not, the Date class has a few delightful features that we love.
How to get the amount of days in a month, according to someone on stackoverflow
1 project | reddit.com/r/badcode | 18 Sep 2021
10+ Interesting ECMAScript Proposals
12 projects | dev.to | 7 Sep 2021
Never use Date.parse or parse strings with new Date. I built an eslint plugin for that.
The Genius of Apple's Name
2 projects | dev.to | 21 Jul 2021
Momentjs isbetween() return false for 2 pm to 8pm argument. I have no idea why its working like this in deployment but it works perfectly in localhost. Help me out here
That's why, IMHO, everyone should at least try out Temporal. The API is quite verbose, but that is because it make these difficult-to-grasp concepts very explicit and forces you to think about them when dealing with date and time. Also, it is slated to become built into JS natively.
The Temporal Date API
2 projects | dev.to | 5 Jul 2021
Have you heard of Temporal? It's an ECMAScript proposal currently at stage 3. It 'brings a modern date/time API to the ECMAScript language':
What are some alternatives?
dayjs - ⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API
Luxon - ⏱ A library for working with dates and times in JS
countdown.js - Super simple countdowns.
moment-timezone - Timezone support for moment.js
fecha - Lightweight and simple JS date formatting and parsing
jquery-timeago - :clock8: The original jQuery plugin that makes it easy to support automatically updating fuzzy timestamps (e.g. "4 minutes ago").
tz-format - Format a date with timezone
timeago.js - :clock8: :hourglass: timeago.js is a tiny(2.0 kb) library used to format date with `*** time ago` statement.