Consistently handle the 'smart' display of default/never dates.

This commit is contained in:
wn_
2024-12-15 17:47:27 +00:00
parent d5b1258d29
commit 119c7f13dc
3 changed files with 5 additions and 6 deletions

View File

@@ -191,10 +191,6 @@ class Counters {
$ts = 0;
}
// hide default un-updated timestamp i.e. 1970-01-01 (?) -fox
if ((int)date('Y') - (int)date('Y', strtotime($line['last_updated'] ?? '')) > 2)
$last_updated = '';
$cv = [
"id" => $id,
"updated" => $last_updated,