Skip to content

Commit

Permalink
Merge pull request #5233 from jpcunningh/fix-hour-format-on-focus-scale
Browse files Browse the repository at this point in the history
fix focus scale hour format
  • Loading branch information
sulkaharo committed Dec 6, 2019
2 parents 301181c + 22c889d commit dde86b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client/chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function init (client, d3, $) {
var formatMillisecond = localeFormatter.format('.%L')
, formatSecond = localeFormatter.format(':%S')
, formatMinute = client.settings.timeFormat === 24 ? localeFormatter.format('%H:%M') :
localeFormatter.format('%I:%M')
localeFormatter.format('%-I:%M')
, formatHour = client.settings.timeFormat === 24 ? localeFormatter.format('%H:%M') :
localeFormatter.format('%-I %p')
, formatDay = localeFormatter.format('%a %d')
Expand Down

0 comments on commit dde86b0

Please sign in to comment.