mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2024-11-23 04:38:37 -05:00
Fix relative timestamps not properly displaying dates in the future.
In 184247c4ab
(#99) jquery.timeago was updated from version 1.6.1 to 1.6.7.
This changed the default value for allowFuture, which is responsible for restricting whether a date in the future would be shown e.g. as "3 days ago" or "3 days from now".
This commit is contained in:
parent
570895c7bd
commit
0be50cf9f9
@ -8,6 +8,8 @@ function timeago()
|
||||
}
|
||||
|
||||
(function(){
|
||||
jQuery.timeago.settings.allowFuture = true;
|
||||
|
||||
timeago();
|
||||
|
||||
$("body").on("click", ".navbar-toggle", function(){
|
||||
@ -27,4 +29,4 @@ function timeago()
|
||||
});
|
||||
});
|
||||
})();
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user