novus / nvd3

A reusable charting library written in d3.js
http://nvd3.org/
Other
7.22k stars 2.14k forks source link

d3.time.scale.utc() doesn't work properly with d3.time.format.utc.multi #1907

Open kashyap-cliqr opened 7 years ago

kashyap-cliqr commented 7 years ago

Following is my fiddle. I have various granularity data in my project.I am displaying date in utc timezone. when I pass data for week its not displaying ticks time on xAxis properly. You can see, it shows 12:00 AM for each day instead of day and month. Any pointer would be helpful. https://jsfiddle.net/fs26jjdw/2/

bgth commented 7 years ago

Please check stackoverflow. It would be better if you do the time processing on the server side so that the times doesnt show differently for different clients in different timezones. linl