projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Better time formatting by using an explicit format
[quassel.git]
/
src
/
uisupport
/
uistyle.cpp
diff --git
a/src/uisupport/uistyle.cpp
b/src/uisupport/uistyle.cpp
index
6bd8494
..
549f5a9
100644
(file)
--- a/
src/uisupport/uistyle.cpp
+++ b/
src/uisupport/uistyle.cpp
@@
-687,8
+687,12
@@
void UiStyle::StyledMessage::style() const
//: Error Message
t = tr("%1").arg(txt); break;
case Message::DayChange:
//: Error Message
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(timestamp().toString());
+ t = tr("{Day changed to %1}").arg(newDate);
+ }
break;
case Message::Topic:
//: Topic Message
break;
case Message::Topic:
//: Topic Message