| Issue 1828: | parseISO8601 accepting "2013-9-9 9:0:0" | |
| 1 person starred this issue and may be notified of changes. | Back to list |
I change this (look the regex):
var m = s.match(/^([0-9]{4})(-([0-9]{1,2})(-([0-9]{1,2})([T ]([0-9]{1,2}):([0-9]{1,2})(:([0-9]{1,2})(\.([0-9]+))?)?(Z|(([-+])([0-9]{2})(:?([0-9]{2}))?))?)?)?)?$/);
if (!m) {
return null;
}
to accept "2013-9-9 9:0:0" or equals
Error found in IE8 only
Is correct my change?
Aug 24, 2013
Project Member
#1
adamrs...@gmail.com
Status:
Invalid
|
|
| ► Sign in to add a comment |