mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-01 10:46:23 -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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue