From a061786085f8cbfa2a4c51f2f82e3ec718675c34 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 16 Feb 2018 14:02:16 +0100 Subject: [PATCH] Fix created date in notification is not shown according to user's Date Format preference --- notifications/inc/class.notifications_ajax.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notifications/inc/class.notifications_ajax.inc.php b/notifications/inc/class.notifications_ajax.inc.php index 789750dc29..fe702f5e1e 100644 --- a/notifications/inc/class.notifications_ajax.inc.php +++ b/notifications/inc/class.notifications_ajax.inc.php @@ -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) );