mirror of
https://github.com/friendica/friendica
synced 2025-04-25 19:50:12 +00:00
Add Temporal::local() shorthand for Temporal::convert()
This commit is contained in:
parent
25954314ec
commit
0bee706e51
11 changed files with 48 additions and 36 deletions
|
@ -790,7 +790,7 @@ function conversation(App $a, $items, $mode, $update, $preview = false) {
|
|||
'categories' => $categories,
|
||||
'folders' => $folders,
|
||||
'text' => strip_tags($body_e),
|
||||
'localtime' => Temporal::convert($item['created'], date_default_timezone_get(), 'UTC', 'r'),
|
||||
'localtime' => Temporal::local($item['created'], 'r'),
|
||||
'ago' => (($item['app']) ? L10n::t('%s from %s', relative_date($item['created']),$item['app']) : relative_date($item['created'])),
|
||||
'location' => $location_e,
|
||||
'indent' => '',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue