From 3487bf16ff08c2d27d3d4f5629347dd668c34156 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 --HG-- branch : develop --- 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))