Base: Move currentDateTimeString out of TimeInfo

currentDateTimeString does not have anything in common
with TimeInfo class, move it into Tools.
This commit is contained in:
Ladislav Michl
2024-01-21 17:14:47 +01:00
parent d60e7b9eae
commit 7b70d3fc6f
6 changed files with 14 additions and 12 deletions

View File

@@ -1359,7 +1359,7 @@ bool Cloud::Module::cloudSave(const char* BucketName)
doc->TipName.setValue(doc->Tip.getValue()->getNameInDocument());
}
std::string LastModifiedDateString = Base::TimeInfo::currentDateTimeString();
std::string LastModifiedDateString = Base::Tools::currentDateTimeString();
doc->LastModifiedDate.setValue(LastModifiedDateString.c_str());
// set author if needed
bool saveAuthor = App::GetApplication()