diff --git a/public/js/grocy.js b/public/js/grocy.js
index e44fe019..8b3123af 100644
--- a/public/js/grocy.js
+++ b/public/js/grocy.js
@@ -316,7 +316,6 @@ if (window.localStorage.getItem("sidebar_state") === "collapsed")
$("#sidenavToggler").click();
}
-$.timeago.settings.allowFuture = true;
RefreshContextualTimeago = function(rootSelector = "#page-content")
{
$(rootSelector + " time.timeago").each(function()
@@ -352,7 +351,7 @@ RefreshContextualTimeago = function(rootSelector = "#page-content")
}
else
{
- element.timeago("update", timestamp);
+ element.text(moment(timestamp).fromNow());
}
if (isDateWithoutTime)
diff --git a/views/layout/default.blade.php b/views/layout/default.blade.php
index 68738939..4eb3fb8d 100644
--- a/views/layout/default.blade.php
+++ b/views/layout/default.blade.php
@@ -697,8 +697,6 @@
-
-