mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-04 19:41:16 +01:00
allowing timeago timestamps to be in the future
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user