allowing timeago timestamps to be in the future

This commit is contained in:
Julian Lam
2016-12-20 13:17:11 -05:00
parent b51fd4096b
commit d77f417cf3

View File

@@ -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);