Reputation: 116283
There is this cool jQuery plugin called timeago which converts time from the past into a human readable format.
I would like a similar thing for the future. (I am working on a TV programme scheduler.)
Upvotes: 15
Views: 2116
Reputation: 1038780
Quote from the documentation (home page in fact):
To support timestamps in the future, use the allowFuture setting:
jQuery.timeago.settings.allowFuture = true;
Upvotes: 25