mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-22 07:41:20 -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
|
@ -41,6 +41,7 @@
|
|||
#include "util/misc.h"
|
||||
#include "util/printpreview.h"
|
||||
#include "util/HandleRichText.h"
|
||||
#include "util/DateTime.h"
|
||||
|
||||
#include <retroshare/rspeers.h>
|
||||
#include <retroshare/rsfiles.h>
|
||||
|
@ -533,11 +534,7 @@ void MessageWidget::fill(const std::string &msgId)
|
|||
ui.bccText->clear();
|
||||
}
|
||||
|
||||
{
|
||||
QDateTime qtime;
|
||||
qtime.setTime_t(msgInfo.ts);
|
||||
ui.dateText->setText(qtime.toString(Qt::DefaultLocaleShortDate));
|
||||
}
|
||||
ui.dateText->setText(DateTime::formatDateTime(msgInfo.ts));
|
||||
|
||||
std::string ownId = rsPeers->getOwnId();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue