Remove unneeded 'ms' param from Date.UTC function

This commit is contained in:
Frederic Junod
2014-01-23 15:37:54 +01:00
parent a56e3766ab
commit 401acc77f3
3 changed files with 3 additions and 3 deletions

View File

@@ -127,7 +127,7 @@ ol.format.IGC.prototype.readFeatureFromText = function(text) {
}
flatCoordinates.push(z);
}
var dateTime = Date.UTC(year, month, day, hour, minute, second, 0);
var dateTime = Date.UTC(year, month, day, hour, minute, second);
flatCoordinates.push(dateTime / 1000);
}
} else if (line.charAt(0) == 'H') {