Skip to content
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

[BUG] Incorrect start/end date after version 6.2.0 up to latest (7.3.4) #384

Open
justinbeatz opened this issue Mar 19, 2020 · 3 comments
Open
Labels
bug Something isn't working

Comments

@justinbeatz
Copy link

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

@yotamberk yotamberk added the bug Something isn't working label Mar 22, 2020
@calope03
Copy link

Hello, I have that problem, in which version does it not happen? In 6.2.0? or lower?

@strazto
Copy link
Contributor

strazto commented Oct 8, 2020

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?

@justinbeatz
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants