Skip to content
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
Failed to load latest commit information.
demo Translation bug fix and add demo Jun 27, 2015
i18n Translation bug fix and add demo Jun 27, 2015
libs
test
.gitignore Add grunt Jan 10, 2013
.gitmodules 2012 Rewrite: v1.1.0pre Sep 14, 2012
.jshintignore 2012 Rewrite: v1.1.0pre Sep 14, 2012
.jshintrc Upgrade to grunt 0.4, use better .jshintrc files Mar 2, 2013
.travis.yml Bump node version to fix tavis builds Oct 6, 2014
Gruntfile.js Upgrade to grunt 0.4, use better .jshintrc files Mar 2, 2013
README.md Add Travis integration Mar 2, 2013
jquery.prettydate.js Added support for the day before yesterday, fall back to days formatt… May 31, 2013
package.json Update grunt dependencies May 12, 2013
prettydate.jquery.json

README.md

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.

Something went wrong with that request. Please try again.