date-fns VS jquery-timeago

Compare date-fns vs jquery-timeago and see what are their differences.

date-fns

⏳ Modern JavaScript date utility library ⌛️ (by date-fns)

jquery-timeago

:clock8: The original jQuery plugin that makes it easy to support automatically updating fuzzy timestamps (e.g. "4 minutes ago"). (by rmm5t)
Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • Scout APM - Less time debugging, more time building
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
date-fns jquery-timeago
59 2
28,799 3,816
6.5% -
9.0 0.0
3 days ago over 1 year ago
TypeScript JavaScript
MIT License MIT License
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.

date-fns

Posts with mentions or reviews of date-fns. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-29.

jquery-timeago

Posts with mentions or reviews of jquery-timeago. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-26.
  • How to handle 'time ago' and site caching?
    2 projects | reddit.com/r/Wordpress | 26 Apr 2022
    http://timeago.yarp.com/ - says that it will only apply the 'timeago' function on time tags with a "timeago" class. Is that what you're using?
    2 projects | reddit.com/r/Wordpress | 26 Apr 2022
    Thanks, I've tested and this works with https://timeago.yarp.com/ . General question, will this be lighter performance-wise vs using a PHP function to change datetime appearance & Low ttl on the page (This is how it was done before)?

What are some alternatives?

When comparing date-fns and jquery-timeago you can also consider the following projects:

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

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

timeago.js - :clock8: :hourglass: timeago.js is a tiny(2.0 kb) library used to format date with `*** time ago` statement.

javascript-time-ago - International highly customizable relative date/time formatting

fecha - Lightweight and simple JS date formatting and parsing

proposal-temporal - Provides standard objects and functions for working with dates and times.

tz-format - Format a date with timezone