1 Votes, Rating: 51 Star2 Stars3 Stars4 Stars5 Stars

CuteTime jQuery Plugin

CuteTime is a customizable jQuery plugin that automatically converts timestamps to formats much cuter (i.e., yesterday, 2 hours ago, last year, in the future, etc). Also has the ability to dynamically re-update and/or automatically update timestamps on a controlled interval.

CuteTime can be used as a function or via selector. If used as a function, returns a string containing a cuteTime version of the provided timestamp. If used by Selector, replaces the text of the provided object with a cuteTime. This makes CuteTime unobtrusive, allowing users to see original timestamp if JavaScript is turned off.

CuteTime Displays

  • the future!
  • just now
  • a few seconds ago
  • a minute ago
  • x minutes ago
  • an hour ago
  • x hours ago
  • yesterday
  • x days ago
  • last month
  • x months ago
  • last year
  • x years ago

You can easily localize or change the setting and display text to mach your own needs. Finally make sure you use timestamps that are fully recognized by the JavaScript Date object’s Parse method in all the IE and FF browser versions you want to support.

Developed by Jeremy Horn; CuteTime jQuery Plugin is dual licensed under the MIT and GPL licenses.  You can find further information, demos & download on CuteTime Website.

Similar Posts:

You can also stay updated by following us on Twitter, becoming a fan on Facebook or by subscribing to our FriendFeed.


Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>