allowing timeago timestamps to be in the future

v1.18.x
Julian Lam 8 years ago
parent b51fd4096b
commit d77f417cf3

@ -119,6 +119,8 @@ if ('undefined' !== typeof window) {
$.timeago.settings.cutoff = 1000 * 60 * 60 * 24 * (parseInt(config.timeagoCutoff, 10) || 30);
}
$.timeago.settings.allowFuture = true;
$.fn.timeago = function () {
var els = $(this);

Loading…
Cancel
Save