Commit f96b74cd authored by Cédric Traizet's avatar Cédric Traizet
Browse files

BUG: update the date format in CosmoImageMetadataInterface and...

BUG: update the date format in CosmoImageMetadataInterface and TerraSarXSarImageMetadataInterface (decimal part is not required in the date library)
parent fc6b013f
Pipeline #9112 passed with stages
in 89 minutes and 22 seconds
......@@ -151,8 +151,8 @@ std::vector<BurstRecord> CosmoImageMetadataInterface::CreateBurstRecord(const st
record.endLine = endLine;
record.endSample = endSample;
record.azimuthStartTime = MetaData::ReadFormattedDate(firstLineTimeStr, "%Y-%m-%dT%H:%M:%S%F");
record.azimuthStopTime = MetaData::ReadFormattedDate(lastLineTimeStr, "%Y-%m-%dT%H:%M:%S%F");
record.azimuthStartTime = MetaData::ReadFormattedDate(firstLineTimeStr, "%Y-%m-%dT%H:%M:%S");
record.azimuthStopTime = MetaData::ReadFormattedDate(lastLineTimeStr, "%Y-%m-%dT%H:%M:%S");
record.azimuthAnxTime = 0.;
......
......@@ -562,7 +562,7 @@ void ReadSARSensorModel(const XMLMetadataSupplier & xmlMS,
// Number of entries in the vector
int listCount = xmlMS.GetAs<int>("level1Product.platform.orbit.orbitHeader.numStateVectors");
const std::string dateFormat = "%Y-%m-%dT%H:%M:%S%F";
const std::string dateFormat = "%Y-%m-%dT%H:%M:%S";
// This streams wild hold the iteration number
std::ostringstream oss;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment