jQuery plugin for "x ago" date formatting with auto update
JavaScript HTML
Latest commit 281a004 Jun 30, 2015 @jzaefferer Merge pull request #35 from mh35/master
Translation bug fix


jQuery Prettydate Plugin

Build Status

This plugin, originally written by John Resig, provides clientside date formatting in the style of Twitter’s timeline: “just now”, “5 minutes ago”, “yesterday”, “2 weeks ago”. This release extends John’s original release, providing support for internationalization and improving the API a bit: You can specify the source of the ISO-date, while not having to manually set up an interval to update the date formatting over time.

See the link above for usage details.