mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 02:55:18 -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
|
@ -323,8 +323,8 @@ QString ChatStyle::formatMessage(enumFormatMessage type, const QString &name, co
|
|||
#endif
|
||||
|
||||
QString formatMsg = style.replace("%name%", name)
|
||||
.replace("%date%", timestamp.date().toString("dd.MM.yyyy"))
|
||||
.replace("%time%", timestamp.time().toString("hh:mm:ss"))
|
||||
.replace("%date%", timestamp.date().toString(Qt::DefaultLocaleShortDate))
|
||||
.replace("%time%", timestamp.time().toString(Qt::DefaultLocaleShortDate))
|
||||
#ifdef COLORED_NICKNAMES
|
||||
.replace("%color%", color.name())
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue