Skip to content
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.

Timeline display differently between Firefox and Chrome #2289

Closed
pmfiebig opened this issue Nov 9, 2016 · 8 comments
Closed

Timeline display differently between Firefox and Chrome #2289

pmfiebig opened this issue Nov 9, 2016 · 8 comments

Comments

@pmfiebig
Copy link

pmfiebig commented Nov 9, 2016

Hi
I think visjs and the work you guys have done is amazing. I recently ran into a little problem.

These Timelines used to be identical on Firefox and on Chrome. Now it seems that Firefox does not display the full start and end date. Here are screen shots
This is how the Timeline looks in Chrome
screen shot 2016-11-09 at 6 30 31 am

This is how the same Timeline now looks in Firefox
screen shot 2016-11-09 at 6 29 56 am

Thanks for your help.

@mojoaxel
Copy link
Member

mojoaxel commented Nov 9, 2016

@pmfiebig Thanks for reporting this. Could you maybe provide a jsbin with your example?

@pmfiebig
Copy link
Author

pmfiebig commented Nov 9, 2016

Thanks for the quick response. You can view jsbin here
http://jsbin.com/funipa/edit?html,output

It displays differently in firefox than chrome

@pmfiebig
Copy link
Author

I figured out what the issue is. If I add a time to the date for example 2014-08-09 23:59:00 then Firefox fails. If I format the date like 2014-08-09 everything is good. I'm not sure why this recently changed. I guess that I can pass a date with time in a different format than Firefox will accept.

@yotamberk
Copy link
Contributor

yotamberk commented Nov 12, 2016

@pmfiebig interesting. Thanks for sharing! This might be something that will require a fix.
@mojoaxel It might be caused by the change with the moment format #2244

@mojoaxel
Copy link
Member

If I add a time to the date for example 2014-08-09 23:59:00 then Firefox fails. If I format the date like 2014-08-09 everything is good.

That sounds like a bug. Can we create a very simple jsbin that demonstrated the problem?

@mojoaxel mojoaxel reopened this Nov 13, 2016
@yotamberk
Copy link
Contributor

@pmfiebig Can you please supply a simple example so we can solve this problem?

@mojoaxel
Copy link
Member

mojoaxel commented Dec 4, 2016

Can you please supply a simple example so we can solve this problem?

There already is an example: http://jsbin.com/funipa/edit?html,output
But here all start dates have been changed to pure dates.

It would be nice to have an example with just a few items.

@mojoaxel
Copy link
Member

mojoaxel commented Dec 4, 2016

I can not see any problems using a time in start or end in a simple example (Chrome and Firefox): http://jsbin.com/hewegin/2/edit?html,output

@pmfiebig Feel free to reopen this issue if you can provide a simple example that shows the problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants