change 0 seconds to the now text

This commit is contained in:
ghost 2021-12-30 19:59:47 +02:00
parent 0cb718fd36
commit 823a6a4616

View File

@ -18,7 +18,7 @@ class Format {
} }
if ($timeDiff < 1) { if ($timeDiff < 1) {
return _('0 seconds'); return _('now');
} }
$a = [365 * 24 * 60 * 60 => [_('year'), _('years'), _('years')], $a = [365 * 24 * 60 * 60 => [_('year'), _('years'), _('years')],