Consistently handle the 'smart' display of default/never dates.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user