Skip to content

Node.js based forum software built for the modern web

allowing timeago timestamps to be in the future

Julian Lamd77f417cf300
diff --git a/public/src/overrides.js b/public/src/overrides.js
index 7ee354a06d..95c9c3d69e 100644
--- a/public/src/overrides.js
+++ b/public/src/overrides.js
@@ -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);