New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xFormat not parsing date correctly #943
Comments
It seems to be broken in the c3.js "Timeseries" example as well (by uncommenting the xFormat and corresponding 'x' row in the data) - all dates show 1969-12-31 |
Thank you for reporting. This a bug and c3 was not able to handle string data correctly. A string that can be converted to number (e.g. |
|
Has this bug been resolved? I'm experiencing the same error with the code here http://jsfiddle.net/ertdnh2m/2/ |
Thank you for reporting, but I found this happens because date values are given as number, not string. Can you see this fiddle (http://jsfiddle.net/ertdnh2m/4/) which I updated to give date values as string. Btw, I don't think date values as number should not be handled as date format string nicely because date values as number (e.g. 1431267484058) can be given already. So, I'd like to keep current behaviour at the moment. |
C3js not converting Unix time stamp properly. http://jsfiddle.net/j9xs7ram/ Many Thanks in advance. I solved it by changing the tooltip format. |
Hi,
With this data and configuartion it looks like C3 is not parsing the dates correctly:
I made a quick JS fiddle to show what I mean.
Can you please check if I'm doing something wrong, or if it's a bug?
Thanks!
The text was updated successfully, but these errors were encountered: