Commit 32a46001d2e97795d91659cdd3da50726baec926

Authored by Goutte
1 parent ea45ebf9

Set time format to 24h in the time series.

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