git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@735 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
notdefine 2008-09-22 08:02:38 +00:00
parent 21cf471f6c
commit 5bbc5cc6af

View File

@ -306,7 +306,7 @@ void NetworkDialog::insertConnect()
time_t seconds; time_t seconds;
seconds=detail.lastConnect; seconds=detail.lastConnect;
struct tm *tmnow= localtime(&seconds); struct tm *tmnow= localtime(&seconds);
out << setfill ("0"); // out << setfill ("0"); why does this not work?
out << tmnow->tm_hour << ":" << tmnow->tm_min << ":" << tmnow->tm_sec << " "; out << tmnow->tm_hour << ":" << tmnow->tm_min << ":" << tmnow->tm_sec << " ";
out << tmnow->tm_mday << "." << tmnow->tm_mon + 1 << "." << tmnow->tm_year + 1900; out << tmnow->tm_mday << "." << tmnow->tm_mon + 1 << "." << tmnow->tm_year + 1900;
} }