mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 16:44:55 +00:00
Optimized datetimepicker relative time display handling
This commit is contained in:
@@ -338,7 +338,7 @@ RefreshContextualTimeago = function(rootSelector = "#page-content")
|
||||
|
||||
var timestamp = element.attr("datetime");
|
||||
|
||||
if (timestamp.isEmpty())
|
||||
if (timestamp.isEmpty() || timestamp.length < 10)
|
||||
{
|
||||
element.text("")
|
||||
return
|
||||
|
Reference in New Issue
Block a user