Closed (fixed)
Project:
Timeago
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2012 at 15:04 UTC
Updated:
23 Jul 2012 at 18:25 UTC
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
Comment #1
icecreamyou commentedCommitted fix to dev (both branches).
In retrospect I'm surprised this isn't enabled by default. There doesn't seem to be any downside.
Comment #2
ydnar79 commentedThank 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...
Comment #3
ydnar79 commentedComment #3.0
ydnar79 commentedUpdated issue summary.