Merge pull request #8015 from annando/ago
Fix the "ago" date (with "received at") for other themes than frio
This commit is contained in:
commit
ad0be213d7
|
@ -420,7 +420,7 @@ class Post extends BaseObject
|
||||||
'localtime' => DateTimeFormat::local($item['created'], 'r'),
|
'localtime' => DateTimeFormat::local($item['created'], 'r'),
|
||||||
'ago' => $item['app'] ? L10n::t('%s from %s', $ago, $item['app']) : $ago,
|
'ago' => $item['app'] ? L10n::t('%s from %s', $ago, $item['app']) : $ago,
|
||||||
'app' => $item['app'],
|
'app' => $item['app'],
|
||||||
'created' => Temporal::getRelativeDate($item['created']),
|
'created' => $ago,
|
||||||
'lock' => $lock,
|
'lock' => $lock,
|
||||||
'location' => $location_e,
|
'location' => $location_e,
|
||||||
'indent' => $indent,
|
'indent' => $indent,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user