mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-20 04:09:16 +00:00
Convert many of the now-deprecated plString::Format calls to plFormat
This commit is contained in:
@ -433,10 +433,10 @@ plFileName plProfileManagerFull::GetProfilePath()
|
||||
plUnifiedTime curTime = plUnifiedTime::GetCurrent(plUnifiedTime::kLocal);
|
||||
|
||||
profilePath = plFileName::Join(plFileSystem::GetUserDataPath(), "Profile",
|
||||
plString::Format("%02d-%02d-%04d_%02d-%02d",
|
||||
curTime.GetMonth(), curTime.GetDay(),
|
||||
curTime.GetYear(), curTime.GetHour(),
|
||||
curTime.GetMinute()));
|
||||
plFormat("{_02}-{_02}-{_04}_{_02}-{_02}",
|
||||
curTime.GetMonth(), curTime.GetDay(),
|
||||
curTime.GetYear(), curTime.GetHour(),
|
||||
curTime.GetMinute()));
|
||||
|
||||
plFileSystem::CreateDir(profilePath, true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user