Commit 32a46001d2e97795d91659cdd3da50726baec926

Authored by Goutte
1 parent ea45ebf9

Set time format to 24h in the time series.

CHANGELOG.md
... ... @@ -30,6 +30,7 @@
30 30  
31 31 ## 1.0.0-rc8
32 32  
  33 +- [x] Set time format to 24h in the time series
33 34 - [x] Add the disabled versions of Uranus and Neptune
34 35 - [x] Add the `CME Catalogs` layer
35 36  
... ...
web/static/js/swapp.js
... ... @@ -506,8 +506,8 @@
506 506 this.yScale = d3.scaleLinear().domain(this.yDataExtent);
507 507 formatMillisecond = d3.timeFormat(".%L");
508 508 formatSecond = d3.timeFormat(":%S");
509   - formatMinute = d3.timeFormat("%I:%M");
510   - formatHour = d3.timeFormat("%I:%M");
  509 + formatMinute = d3.timeFormat("%H:%M");
  510 + formatHour = d3.timeFormat("%H:%M");
511 511 formatDay = d3.timeFormat("%a %d");
512 512 formatWeek = d3.timeFormat("%b %d");
513 513 formatMonth = d3.timeFormat("%B");
... ...
web/static/js/swapp.ls
... ... @@ -391,8 +391,8 @@ export class TimeSeries
391 391  
392 392 formatMillisecond = d3.timeFormat(".%L")
393 393 formatSecond = d3.timeFormat(":%S")
394   - formatMinute = d3.timeFormat("%I:%M")
395   - formatHour = d3.timeFormat("%I:%M")
  394 + formatMinute = d3.timeFormat("%H:%M")
  395 + formatHour = d3.timeFormat("%H:%M")
396 396 formatDay = d3.timeFormat("%a %d")
397 397 formatWeek = d3.timeFormat("%b %d")
398 398 formatMonth = d3.timeFormat("%B")
... ...