Incorrect format issue
Status: Beta
Brought to you by:
menendezpoo
tracked it down to I believe this line:
var res = format.split(/(dddd|ddd|dd|d|fff|ff|f|hh|h|HH|H||mm|m|MMMM|MMM|MM|M|ss|s|tt|t|yyyy|yyy|yy|y)?/);
which when parsing the time format of "MM/dd/yyyy HH:mm:ss" gets split by every letter and misses a couple. I don't know enough about how format.split works here to fix it myself. Point being is the output is incorrect as a result.
the res array looks like {M,M,/,/,y,y,y,y,_,,:,m,m,:,s,s} the underscore is meant to be a space.
I presume it should look like {MM,/,dd,/,yyyy,_,HH,:,mm,:,ss}