I seen that the timeago script allowed for FUTURE dates and times as well as PAST. Now while it is very easy to change this option.

(All you have to do is change one line in the jquery.timeago.js file.)

allowFuture: false ----> allowFuture: true

It would be nice to have this option in the default timeago module. As well as having the "prefixFromNow" being set along with everything else. (Just realized it was the "suffixFromNow" one I meant and it IS set.)

Now I realize that not everyone may want this feature, so perhaps set it as configurable?

Again, while this is VERY easy to change, it would be nice to have this functionality out of the box.

Thanks for bringing this feature to Drupal!

Comments

icecreamyou’s picture

Status: Active » Fixed

Committed fix to dev (both branches).

In retrospect I'm surprised this isn't enabled by default. There doesn't seem to be any downside.

ydnar79’s picture

Thank you.... I figured this would be something that others would be able to use as well. At least this way, it works out of the box for everyone and is one less thing that needs to be changed..... (Even though it was VERY minor.)

Thanks again...

ydnar79’s picture

Status: Fixed » Closed (fixed)
ydnar79’s picture

Issue summary: View changes

Updated issue summary.