webix icon indicating copy to clipboard operation
webix copied to clipboard

webix does not parse dates

Open RekGRpth opened this issue 4 years ago • 1 comments

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})?/;

RekGRpth avatar Sep 02 '20 11:09 RekGRpth

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

alex77h avatar May 29 '24 07:05 alex77h