Merge pull request #8015 from annando/ago

Fix the "ago" date (with "received at") for other themes than frio
This commit is contained in:
Philipp 2019-12-26 21:19:26 +01:00 committed by GitHub
commit ad0be213d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -420,7 +420,7 @@ class Post extends BaseObject
'localtime' => DateTimeFormat::local($item['created'], 'r'),
'ago' => $item['app'] ? L10n::t('%s from %s', $ago, $item['app']) : $ago,
'app' => $item['app'],
'created' => Temporal::getRelativeDate($item['created']),
'created' => $ago,
'lock' => $lock,
'location' => $location_e,
'indent' => $indent,