rmm5t/jquery-timeago

:clock8: The original jQuery plugin that makes it easy to support automatically updating fuzzy timestamps (e.g. "4 minutes ago").

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 32 minutes ago
Type:Library / SDKCategory(s):UI Components & Design SystemsWeb Development
Added to GitGenius on September 18th, 2026
Created on July 18th, 2008
Open Issues & Pull Requests: 45 (+0)
GitHub issues: Enabled
Number of forks: 690
Total Stargazers: 3,793 (+0)
Total Subscribers: 92 (+0)

Repository Insights (GitGenius)

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 1
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 179 days
Stale 30+ days: 1
Stale 90+ days: 1

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

jquery-timeago is a jQuery plugin that converts ISO 8601 formatted timestamps embedded in HTML into automatically updating fuzzy time strings like "4 minutes ago" or "about 1 day ago".

The plugin solves the problem of displaying relative timestamps that stay current without page refresh. It works by attaching to time elements or other HTML elements containing ISO 8601 datetime attributes, then periodically updating the displayed text as time passes. The fuzzy format makes timestamps more human-readable than absolute dates, and automatic updates keep them accurate without requiring users to reload the page.

The tool suits projects using jQuery where you want to display relative timestamps with minimal setup. It supports both the HTML5 time element and legacy abbr elements for microformat compatibility. The plugin includes a cutoff setting to fall back to the original date for very old timestamps, and an update function for programmatically changing timestamps. Multiple language locales are available in the repository's locales directory. The README does not compare this plugin to alternatives.

Development shows a long history of incremental improvements across many versions, with each release cycle adding features like the update function, cutoff setting, allowPast option, and updateFromDOM function, alongside consistent locale additions and bug fixes. The project maintains broad compatibility through UMD wrappers and AMD support, and includes unit tests to verify functionality.