You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 29, 2019. It is now read-only.
Suffice to say, I'm working on a large legacy application, which makes use of datejs's Date.parse extensions.
When rendering a Vis.js Timeline, rendering RangeItems makes use of utils.convert to coerce the start/end of the range to a number. However, when re-rendering, this coercion is repeated, passing an integer into utils.convert again.
When this happens, it passes a number to Date.parse, which is not officially supported by the ES5 spec. While the native version of this method in IE/FF/Chrome seems to handle this case, it's not something that should be relied upon, and accordingly using datejs's overloaded version of Date.parse causes errors, as it expects a string input.