#3398 Remove spaces and dots from date part of export file name

This commit is contained in:
Gaute Lindkvist committed 2018-09-21 12:51:37 +02:00
1 parent 62f36faa12
commit bc6e75e88e
1 file changed
+2 -1
@@ -2393,7 +2393,8 @@ QString RicWellPathExportCompletionDataFeatureImpl::createPressureDepletionFileN
if (eclipseCase)
{
QString date = eclipseCase->timeStepStrings()[exportSettings.transScalingTimeStep()];
suffix += QString("_%1").arg(date);
date.replace(QRegExp("[\\.\\s]"), "_");
suffix += QString("%1").arg(date);
}
}
return suffix;