mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fix
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@735 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
21cf471f6c
commit
5bbc5cc6af
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user