My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1828: parseISO8601 accepting "2013-9-9 9:0:0"
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Aug 2013


Sign in to add a comment
 
Reported by luis.kau...@gmail.com, May 9, 2013
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
(No comment was entered for this change.)
Status: Invalid
Sign in to add a comment

Powered by Google Project Hosting