From 22b2d78a551387562155f92a7fef4c0155930be8 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 3 Jul 2019 16:32:26 +0200 Subject: [PATCH] Change date format --- www/notifications/inner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/notifications/inner.js b/www/notifications/inner.js index 2d8e382dd..fd5f69de0 100644 --- a/www/notifications/inner.js +++ b/www/notifications/inner.js @@ -93,7 +93,7 @@ define([ notifsData.push(data); var el = common.mailbox.createElement(data); var time = new Date(data.content.time); - $(el).find(".cp-notification-content").append(h("span.notification-time", time.toLocaleDateString() + " - " + time.toLocaleTimeString())); + $(el).find(".cp-notification-content").append(h("span.notification-time", time.toLocaleString())); $(el).addClass("cp-app-notification-archived"); $(el).toggle(!isDataUnread); $(notifsList).append(el);