Remove unneeded 'ms' param from Date.UTC function
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user