flrs / visavail

A D3.js Time Data Availability Visualization
https://flrs.github.io/visavail/docs/samples/basic.html
MIT License
310 stars 59 forks source link

time scale is not using moment.locale() #21

Closed adas172002 closed 4 years ago

adas172002 commented 6 years ago

Hi,

I am trying to make a localized axis labels to present month names and time/date format of choice given by moment.locale(). I see that some parts of chart (tooltips, subtitle) pick up locale set in moment, however time scale seems to be hard - coded to US locale. I am not sure if this is related to d3.time.scale or other part of visavail.js. Can you suggest a solution to my issue?

tanganellilore commented 4 years ago

Hi @adas172002 ,

now the library go to v 2.0 and moment it integrate with locale function.

Enjoy with visavail 2.0