diff options
| author | wn_ <invalid@email.com> | 2024-12-15 17:47:27 +0000 |
|---|---|---|
| committer | wn_ <invalid@email.com> | 2024-12-15 17:47:27 +0000 |
| commit | 119c7f13dcb9b91368304e3affd0219108ec490f (patch) | |
| tree | c0efebffe51f142948859895d2bc0d6ac80ef165 /classes/Counters.php | |
| parent | d5b1258d294fb8b0e43344a9925a9202925fcb02 (diff) | |
Consistently handle the 'smart' display of default/never dates.
Diffstat (limited to 'classes/Counters.php')
| -rw-r--r-- | classes/Counters.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/classes/Counters.php b/classes/Counters.php index 99d4fdab1..535c8b32b 100644 --- a/classes/Counters.php +++ b/classes/Counters.php @@ -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, |