From ba5a164ec8d982152f21d0ff075e1084c14e79f5 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 20 Feb 2016 19:06:15 +0100 Subject: [PATCH] Fixed: Display human readable version of file timestamps --- code/ryzom/client/src/login_patch.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ryzom/client/src/login_patch.cpp b/code/ryzom/client/src/login_patch.cpp index 6eb278ece..192487905 100644 --- a/code/ryzom/client/src/login_patch.cpp +++ b/code/ryzom/client/src/login_patch.cpp @@ -1517,8 +1517,8 @@ void CPatchManager::applyDate (const string &sFilename, uint32 nDate) // _utimbuf utb; // utb.actime = utb.modtime = nDate; setRWAccess(sFilename, false); - ucstring s = CI18N::get("uiChangeDate") + " " + NLMISC::CFile::getFilename(sFilename) + " " + toString(NLMISC::CFile::getFileModificationDate (sFilename)) + - " -> " + toString(nDate); + ucstring s = CI18N::get("uiChangeDate") + " " + NLMISC::CFile::getFilename(sFilename) + " " + timestampToHumanReadable(NLMISC::CFile::getFileModificationDate (sFilename)) + + " -> " + timestampToHumanReadable(nDate); setState(true,s); if (!NLMISC::CFile::setFileModificationDate(sFilename, nDate))