问题
Can’t display East [NY] time on the x axis.
- I’m using Angular-nvD3 lib to display the chart
Time comes in unixtime i.e 1544693400, 1544693700 and displayed like so:
tickFormat: function(d) { return d3.time.format('%H:%M')(new Date(d * 1000)); }
来源:https://stackoverflow.com/questions/53772919/cant-display-new-york-time-on-x-axis-d3-angular-nvd3