mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3398 Remove spaces and dots from date part of export file name
This commit is contained in:
parent
62f36faa12
commit
bc6e75e88e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user