Closed gulshan closed 3 months ago
I have made this temporary change to make plain date strings work in user.js file-
parse (s) {
if (!this.parseHHMMSS(s) && !this.parseMMSS(s) /*&& !this.parseSS(s)*/) {
this.value = (typeof s === 'string') ? new Date(s) : s
}
}
no tests break with this change, so i have merged it - thanks
Thank you for checking this. Closing the issue.
The
ConcreteColumnType.parseSS
method inuser.js
file uses the RegExp value/(\d?\d)$/g
. This matches any regular date strings like2020-01-01
. When the match is found the value of the parameter is changed to ~1900-01-01
.Please check this and make necessary corrections. Thanks in advance.