Skip to content

Node.js based forum software built for the modern web

add back timeago.allowFuture so we can notify when a ban will expire

psychobunny76a2b4800b60
diff --git a/public/src/overrides.js b/public/src/overrides.js
index 8f2878c79c..b74d93efba 100644
--- a/public/src/overrides.js
+++ b/public/src/overrides.js
@@ -117,6 +117,8 @@ if (typeof window !== 'undefined') {
$.timeago.settings.cutoff = 1000 * 60 * 60 * 24 * (parseInt(config.timeagoCutoff, 10) || 30);
}
+ $.timeago.settings.allowFuture = true;
+
$.fn.timeago = function () {
var els = $(this);