mirror of
https://github.com/friendica/friendica
synced 2025-05-04 15:44:10 +02: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
|
@ -362,7 +362,7 @@ function ping_init(App $a)
|
|||
$notif['photo'] = proxy_url($notif['photo'], false, PROXY_SIZE_MICRO);
|
||||
}
|
||||
|
||||
$local_time = Temporal::convert($notif['date'], date_default_timezone_get());
|
||||
$local_time = Temporal::local($notif['date']);
|
||||
|
||||
$notifications[] = [
|
||||
'id' => $notif['id'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue