]> git.mxchange.org Git - friendica.git/commitdiff
Fix the "ago" date (with "received at") for other themes than frio
authorMichael <heluecht@pirati.ca>
Thu, 26 Dec 2019 19:51:36 +0000 (19:51 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 26 Dec 2019 19:51:36 +0000 (19:51 +0000)
src/Object/Post.php

index 2c4e841acbdd5592e58e72c416e63381d14f0a4f..acd0663504dc263a9a419454e22534f896ff9f70 100644 (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,