mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-17 13:30:36 -04:00
Fixed missing seconds in time format.
Added new basic class for date/time format. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5825 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
8a3973de81
commit
968f72f303
20 changed files with 195 additions and 77 deletions
|
@ -40,7 +40,7 @@
|
|||
#include "gui/notifyqt.h"
|
||||
#include "gui/common/AvatarDefs.h"
|
||||
#include "gui/MainWindow.h"
|
||||
#include "rshare.h"
|
||||
#include "util/DateTime.h"
|
||||
|
||||
static QMap<std::string, ConfCertDialog*> instances;
|
||||
|
||||
|
@ -165,7 +165,7 @@ void ConfCertDialog::load()
|
|||
|
||||
ui.loc->setText(QString::fromUtf8(detail.location.c_str()));
|
||||
// Dont Show a timestamp in RS calculate the day
|
||||
ui.lastcontact->setText(Rshare::customLongDate(detail.lastConnect));
|
||||
ui.lastcontact->setText(DateTime::formatLongDateTime(detail.lastConnect));
|
||||
|
||||
/* set retroshare version */
|
||||
std::map<std::string, std::string>::iterator vit;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue