mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-09 06:42:19 -04:00
Added and modified patch from Henry
Modified the date format according to the chosen language (locale). git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5798 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
59ed165c81
commit
a573211629
27 changed files with 159 additions and 129 deletions
|
@ -29,6 +29,7 @@
|
|||
#include "util/HandleRichText.h"
|
||||
#include "gui/common/AvatarDefs.h"
|
||||
#include "gui/settings/rsharesettings.h"
|
||||
#include "rshare.h"
|
||||
|
||||
#include "gui/notifyqt.h"
|
||||
|
||||
|
@ -137,8 +138,7 @@ void ChatMsgItem::insertChat(const std::string &message)
|
|||
std::cerr << "ChatMsgItem::insertChat(): " << msg << std::endl;
|
||||
#endif
|
||||
|
||||
QString timestamp = QDateTime::currentDateTime().toString("hh:mm:ss");
|
||||
timestampLabel->setText(timestamp);
|
||||
timestampLabel->setText(Rshare::customLongDate(QDateTime::currentDateTime()));
|
||||
|
||||
QString formatMsg = QString::fromUtf8(message.c_str());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue