projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Display timestamps using the application locale
[quassel.git]
/
src
/
uisupport
/
uistyle.cpp
diff --git
a/src/uisupport/uistyle.cpp
b/src/uisupport/uistyle.cpp
index
549f5a9
..
1e78e38
100644
(file)
--- a/
src/uisupport/uistyle.cpp
+++ b/
src/uisupport/uistyle.cpp
@@
-688,10
+688,8
@@
void UiStyle::StyledMessage::style() const
t = tr("%1").arg(txt); break;
case Message::DayChange:
{
t = tr("%1").arg(txt); break;
case Message::DayChange:
{
- //: Date format. See http://qt-project.org/doc/qt-4.8/qdate.html#toString
- QString newDate = timestamp().toString(tr("MMMM d yyyy"));
//: Day Change Message
//: Day Change Message
- t = tr("{Day changed to %1}").arg(
newDate
);
+ t = tr("{Day changed to %1}").arg(
QLocale().toString(timestamp(), QLocale().dateFormat())
);
}
break;
case Message::Topic:
}
break;
case Message::Topic: