-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Separator "." in date data is no longer working #2870
Comments
Vega uses standard browser date parsing and only dates in the standard formats are supported. Vega 2 probably used datalib and may have used different date parsing ut I haven't checked. |
It would be awesome if you help update the graph extension to the latest Vega versions, btw. |
I checked example code with "." separator on mentioned mozilla website and it works.
My js skills are on "Hello world" level. Unfortunate Mediawiki developers seems to be overloaded with more urgent issues. They started to work on it but got stucked. If you could help would be great. Please contact Yurik for details |
Unfortunately, |
Alternatively, you can specify the date format yourself as part of the Vega specification, as described here: https://vega.github.io/vega/docs/data/#format. You can pass a |
This could be best solution for me. I will check if it works. |
Separator "." in date data (e.g. "2001.12.13") is no longer working . Other combinations of "/", " " and "," are parsed correctly (e.g. "2019 //// 10, ,,,, / 01" or "2019 11 01"). It seems that separator "-" can be only one and not combined with any other.
Problem may be due to some update in d3 or deeper in eslint. I noticed it on wikipedia Graph Extension which is using Vega 2.
I tested it on
in editor for Vega version Vega 5.15.0
and Vega 2 editor
The text was updated successfully, but these errors were encountered: