|2 days ago||about 1 month 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.
What library do you use to handle dates?
4 projects | /r/reactjs | 9 Jun 2023
In past i used Moment, but I read that we should avoid to use it for future projects. I read someone suggested to use Datejs, but it doesn't seems to be updated, last time was 8 years ago. Currently I'm thinking to use Luxon but I someone suggest Date-fns also.
20 Essential Parts Of Any Large Scale React App
15 projects | dev.to | 2 Jun 2023
date-fns : Date handling
Launching my first Expo app 🥳
2 projects | /r/reactnative | 30 May 2023
Thanks! I used date-fns for the calendar
What big media wants us to think.
2 projects | /r/LowStakesConspiracies | 15 May 2023
I've used this before and I like it more
Common Date formatter libraries in React (TypeScript)
5 projects | /r/reactjs | 11 May 2023
The default date constructor does a really great job at parsing in most cases and things like addition/subtraction along with many other common operations are usually just simple math. If you really want to abstract that use date-fns where most date operations are tree shakable to be left with just a few lines of code.
What is your must have npm package on any given project?
15 projects | /r/webdev | 5 Apr 2023
date-fns and mitt (event emitter) are also frequent helpers, but I'm considering dayjs and nanoevents for these cases.
I literally wouldn't even, even if i could, y'all.
3 projects | /r/ProgrammerHumor | 23 Feb 2023
Everything you need to know about Temporal Date API
2 projects | dev.to | 18 Feb 2023
Building a real-time commenting app with Socket.io and React
7 projects | dev.to | 17 Feb 2023
2 projects | /r/programminghorror | 23 Jan 2023
Obligatory plug for date-fns. https://date-fns.org/
Everything you need to know about Date in Programming
2 projects | dev.to | 28 Oct 2023
Making your datepicker easier to work with
2 projects | dev.to | 28 Apr 2022
So first, a simple example of how this works. Using our "What is your birthday" example, we can mock up this code. Note: I'm using TypeScript because it enforces the concepts at compile time, but the JsJoda library itself enforces the concepts at runtime so that we get the best of both.
[HELP] Time elapsed since midnight breaks on days when DST changes
3 projects | /r/node | 31 Oct 2021
Dealing with human dates is non-trivial thanks to localization. The easiest thing to do is to start with something zone agnostic (like UTC or epoch) do your date calculation, and then shift that into the locale you want. date-fns is fine for basic date math, but if you want something more robust, with a more cohesive API, I'd recommend js-joda.
You don't (may not) need Moment.js
10 projects | news.ycombinator.com | 18 Sep 2021
6 projects | news.ycombinator.com | 28 Jun 2021
Updates from the 81st meeting of TC39
I've been getting by with js joda. Temporal is a welcome addition.
How to format dates without Moment.js
2 projects | dev.to | 1 Feb 2021
Support for the domain models LocalDate, LocalDateTime, ZonedDateTime, Instant, Duration and Period. Also, supports IANA timezone, adding the plugin @js-joda/timezone you'll have access to the IANA timezone database with all the timezones available.
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
timeago.js - :clock8: :hourglass: timeago.js is a tiny(2.0 kb) library used to format date with `*** time ago` statement.
fecha - Lightweight and simple JS date formatting and parsing
proposal-temporal - Provides standard objects and functions for working with dates and times.
jquery-timeago - :clock8: The original jQuery plugin that makes it easy to support automatically updating fuzzy timestamps (e.g. "4 minutes ago").
Node RED - Low-code programming for event-driven applications