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

webix does not parse dates #340

Open
RekGRpth opened this issue Sep 2, 2020 · 1 comment
Open

webix does not parse dates #340

RekGRpth opened this issue Sep 2, 2020 · 1 comment

Comments

@RekGRpth
Copy link

RekGRpth commented Sep 2, 2020

with

webix.DataDriver.json.parseDates = true

without change

var isodate = /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(.\d{1-3})?Z/;

to

var isodate = /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(.\d{1-6})?/;
@alex77h
Copy link

alex77h commented May 29, 2024

The part "\d{1-3}" in the Regex is wrong, it has to be "\d{1,3}" or "\d{1,6}" if you like.

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

No branches or pull requests

2 participants