From 81c44136f8952534c29a9c9ac90d2f409647decd Mon Sep 17 00:00:00 2001 From: Michael Joyce Date: Thu, 19 Apr 2018 07:12:54 -0700 Subject: [PATCH] Issue #17 - Update Messages datetime format call to use UTC time The format.datetime call in Messages has been updated so that UTC display format is explicitly stated. Note, this should be updated in the future to mirror message display in the same format that the Clock component is using for consistency. --- bliss/gui/static/js/bliss/gui/Messages.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bliss/gui/static/js/bliss/gui/Messages.js b/bliss/gui/static/js/bliss/gui/Messages.js index c2705457..31bc6e6a 100644 --- a/bliss/gui/static/js/bliss/gui/Messages.js +++ b/bliss/gui/static/js/bliss/gui/Messages.js @@ -58,7 +58,7 @@ const Messages = view(vnode) { const rows = this._messages.map(msg => m('div', {class: 'entry entry--' + msg.severity.toLowerCase()}, [ - m('div', {class: 'timestamp'}, format.datetime(msg.timestamp)), + m('div', {class: 'timestamp'}, format.datetime(msg.timestamp, {utc: true, gps: false})), m('div', {class: 'severity'}, msg.severity), m('div', {class: 'message'}, msg.message) ])