Open justinbeatz opened 4 years ago
Hello, I have that problem, in which version does it not happen? In 6.2.0? or lower?
This might be a duplicate of #663 , which has been fixed, but it's hard to tell because your codesandbox examples seem to have expired. @justinbeatz can you please share the actual code on github so we can reprex?
The code is still in codesandbox: 6.1.1 https://codesandbox.io/s/timeline-v6-1-1-dhq87-5dp84
6.2.0 https://codesandbox.io/s/timeline-v6-2-0-dhq87-gdgue
I need to create a new one with the latest version and test it, I kind of busy but will try to do it in this week and update this issue.
There is an issue added after version 6.2.0 that makes vis-timeline behave differently when passing Date objects (converted from SQL format YYYY-MM-DD hh:mm:ss) check the examples here:
6.1.1 https://codesandbox.io/s/timeline-v6-1-1-dhq87-5dp84
6.2.0 https://codesandbox.io/s/timeline-v6-2-0-dhq87-gdgue
You can change to the latest version and uncomment the respective imports and check that the bug is there. Also if you zoom the timeline, there is a bug showing the dates in incorrect position, possibly related to this onehttps://github.com/visjs/vis-timeline/issues/261
Library: Vis timeline Browser: Firefox 74.0, Chrome Version 80.0.3987.132, OS: Linux