c3js / c3js/c3

Dates in tooltips are wrong when localtime = false on timeseries chart

Open
#1,137 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.3k
Forks
1.4k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

If you look at this fiddle: http://jsfiddle.net/26m1w5tj/ you'll see that the date indicated in the tooltip does not match the date on the x-axis. Remove the `localtime: false` and the date on the x-axis ticks changes, but the date in the tooltip for the same positions along the chart remains the same. The date on the tooltip and the date on the x-axis should remain in sync regardless of the `localtime` settting.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.