summaryrefslogtreecommitdiff
path: root/classes/Counters.php
diff options
context:
space:
mode:
authorwn_ <invalid@email.com>2024-12-15 17:47:27 +0000
committerwn_ <invalid@email.com>2024-12-15 17:47:27 +0000
commit119c7f13dcb9b91368304e3affd0219108ec490f (patch)
treec0efebffe51f142948859895d2bc0d6ac80ef165 /classes/Counters.php
parentd5b1258d294fb8b0e43344a9925a9202925fcb02 (diff)
Consistently handle the 'smart' display of default/never dates.
Diffstat (limited to 'classes/Counters.php')
-rw-r--r--classes/Counters.php4
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,