jquery-timeago
4.2
Score

jQuery timeago plugin for dynamic timestamps

What is jquery-timeago?

The jquery-timeago plugin is ideal for developers using jQuery who want to display dynamic and human-readable timestamps like '4 minutes ago'. It supports automatic updates and various HTML elements to keep your time indicators fresh and relevant.

JavaScript
jQuery
Time Display

Summary of jquery-timeago

  • 👍

    Supports multiple language configurations.

  • 🤝

    Compatible with ISO 8601 date formats.

  • 👍

    Backwards compatible with legacy HTML elements.

  • 👍

    Automatic timestamp updates as time progresses.

  • 👍

    Supports customization with settings like 'cutoff'.

Built by

Ryan McGeary
Ryan McGeary
@rmm5t
+ 106 other contributors

Last push
2 months ago
Stars
3.8 k

Forks
707
Open Issues
44
Closed Issues
707

Last Update
6 years ago
Version
1.6.7
Typings

Downloads
898.8 k
Dependencies
1
Size
145 kB
jquery-timeago is a jQuery plugin that enables the automatic conversion of UTC timestamps into readable, fuzzy timestamps, such as "4 minutes ago" or "about 1 day ago". This functionality helps to provide clearer time indications within web pages by transforming ISO 8601 formatted dates embedded in HTML elements. The component supports various HTML elements like `<time>` and `<abbr>`, providing flexibility and backward compatibility with legacy microformats. It continuously updates the timestamp representation as time passes and allows for programmatic updates with new timestamps. Whether it's for blogs, news sites, or any dynamic content platform, jquery-timeago ensures that the time information presented to users remains fresh and contextually relevant.