Changed timestamp to UTC.

This commit is contained in:
Filip Strajnar 2024-06-24 11:43:02 +02:00
parent 943d186041
commit b2dcededd6

View file

@ -20,7 +20,7 @@ using (var fileStream = new FileInfo(args[0]).OpenRead())
{ {
Id = node.Id.Value, Id = node.Id.Value,
Version = node.Version.Value, Version = node.Version.Value,
TimeStamp = node.TimeStamp.Value, TimeStamp = node.TimeStamp.Value.ToUniversalTime(),
Longitude = node.Longitude.Value, Longitude = node.Longitude.Value,
Elevation = node.TagDoubleValueByKey("ele"), Elevation = node.TagDoubleValueByKey("ele"),
Prominence = node.TagDoubleValueByKey("prominence"), Prominence = node.TagDoubleValueByKey("prominence"),