forgot to remove debug message

This commit is contained in:
Adam Shaw 2011-04-03 22:44:50 -07:00
parent cb4a3ebb99
commit b110e2bf51

View file

@ -203,7 +203,6 @@ function parseISO8601(s, ignoreTimezone) { // ignoreTimezone defaults to false
m[10] || 0, m[10] || 0,
m[12] ? Number("0." + m[12]) * 1000 : 0 m[12] ? Number("0." + m[12]) * 1000 : 0
); );
console.log(m[18]);
var offset = Number(m[16]) * 60 + (m[18] ? Number(m[18]) : 0); var offset = Number(m[16]) * 60 + (m[18] ? Number(m[18]) : 0);
offset *= m[15] == '-' ? 1 : -1; offset *= m[15] == '-' ? 1 : -1;
date = new Date(+date + (offset * 60 * 1000)); date = new Date(+date + (offset * 60 * 1000));