mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3428 Text string creation based on date and time : Use toStringUsingApplicationLocale() at relevant places
This commit is contained in:
@@ -851,8 +851,10 @@ QString RimEclipseCase::timeStepName(int frameIdx) const
|
||||
if (frameIdx < static_cast<int>(timeStepDates.size()))
|
||||
{
|
||||
QDateTime date = timeStepDates.at(frameIdx);
|
||||
return date.toString(m_timeStepFormatString);
|
||||
|
||||
return RiaQDateTimeTools::toStringUsingApplicationLocale(date, m_timeStepFormatString);
|
||||
}
|
||||
|
||||
return QString("");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user