Randomblue
Randomblue

Reputation: 116283

Like timeago, but in the future

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

Answers (1)

Darin Dimitrov
Darin Dimitrov

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;

Live demo.

Upvotes: 25

Related Questions