Fix created date in notification is not shown according to user's Date Format preference

This commit is contained in:
Hadi Nategh 2018-02-16 14:02:16 +01:00
parent 56bba60b6e
commit c9dcbc0947

View File

@ -198,7 +198,7 @@ class notifications_ajax {
$notification['notify_message'],
$browserNotify,
$notification['notify_status'],
$notification['notify_created'],
Api\DateTime::to($notification['notify_created']),
new DateTime(),
is_array($actions)?$actions:NULL)
);