date-fns
Our great sponsors
nextjs-supabase-app | date-fns | |
---|---|---|
1 | 104 | |
11 | 31,184 | |
- | 1.3% | |
4.5 | 8.6 | |
7 months ago | 9 days ago | |
JavaScript | TypeScript | |
- | MIT License |
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.
nextjs-supabase-app
-
Build a full-stack app with Next.js and Supabase
You can find the full repository of this project here and the live Vercel link here. If you’d like to read more on Supabase and Next.js, you can check out their docs.
date-fns
- I literally wouldn't even, even if i could, y'all.
-
Everything you need to know about Temporal Date API
We all know the pain of working with dates in Javascript. It needs to be more explicit, has almost no method, and could not be more clunky. For example, to create the Date January 1, 2023, you have to write a new Date (2023, 0, 1), which can be confusing for beginners, and overall just not that clear. And because of these reasons, the community has made many libraries that attempt to make Date easier to work with over the past years. Like momentjs or Date-fns. But the good news is that you won't need these third-party libraries any longer. The Temporal Date API in Javascript attempts to completely replace the Date object and fix all of the issues we generally face when working with dates.
-
Building a real-time commenting app with Socket.io and React
Next we're going to install any additional dependencies we need. In our case, we're just going to need date-fns which is a library that makes it trivial to work with datetimes in JavaScript.
-
Buddy got sick of unpredictable date calculations with JavaScript Date() objects
Obligatory plug for date-fns. https://date-fns.org/
-
7 Insanely Useful React Libraries For Your Next Project - No BS
4. Date-fns
-
RSS Feed with Next.js
After that we use the feed library to create the feed and to convert our posts into RSS items. First we have to install the library and install date-fns as well. We need date-fns later to simplify working with dates.
-
4 Beginner Friendly Open Source Projects
date-fns - Modern JavaScript date utility library
-
Getting started with webpack - Tutorial for absolute beginners
Currently, we are showing age in the only number of days. For better readability, let's use a function from the date-fns library. To install it, run.
-
NextJS 13 Blog Starter
Create a formatter for the post dates using date-fns:
-
Tell HN: Emmet, the HTML editing plugin, gets $100k/yr in donations from casinos
This is it...they are just buying backlinks.
"Become a bronze sponsor and get your logo marked as Bronze Sponsor on our website that has 100K/month pageviews (https://date-fns.org) with a link..."
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 - Parse, validate, manipulate, and display dates in javascript.
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.
js-joda - :clock2: Immutable date and time library for javascript
fecha - Lightweight and simple JS date formatting and parsing
javascript-time-ago - International highly customizable relative date/time formatting
jquery-timeago - :clock8: The original jQuery plugin that makes it easy to support automatically updating fuzzy timestamps (e.g. "4 minutes ago").
proposal-temporal - Provides standard objects and functions for working with dates and times.
tz-format - Format a date with timezone