Skip to content

Commit

Permalink
Issue #17 - Update Messages datetime format call to use UTC time
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
MJJoyce committed Apr 19, 2018
1 parent 7c979cf commit 81c4413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bliss/gui/static/js/bliss/gui/Messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
])
Expand Down

0 comments on commit 81c4413

Please sign in to comment.