[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [eventviews] src/agenda: agenda/agendaview.cpp - put the shortMonth in the short day label
From:       Allen Winter <null () kde ! org>
Date:       2017-07-31 22:06:31
Message-ID: E1dcIpb-0001I8-Do () code ! kde ! org
[Download RAW message or body]

Git commit d2a9718d30c528a91693131bdb3c7daebd50993e by Allen Winter.
Committed on 31/07/2017 at 22:05.
Pushed by winterz into branch 'master'.

agenda/agendaview.cpp - put the shortMonth in the short day label
helps when quickviewing too.

M  +2    -1    src/agenda/agendaview.cpp

https://commits.kde.org/eventviews/d2a9718d30c528a91693131bdb3c7daebd50993e

diff --git a/src/agenda/agendaview.cpp b/src/agenda/agendaview.cpp
index cc6b9af..a9cad2f 100644
--- a/src/agenda/agendaview.cpp
+++ b/src/agenda/agendaview.cpp
@@ -1224,8 +1224,9 @@ void AgendaView::createDayLabels(bool force)
 
         int dW = date.dayOfWeek();
         QString veryLongStr = QLocale::system().toString(date, QLocale::LongFormat);
-        QString longstr = i18nc("short_weekday date (e.g. Mon 13)", "%1 %2",
+        QString longstr = i18nc("short_weekday date (e.g. Mon 13)", "%1 %2 %3",
                                 QLocale::system().dayName(dW, QLocale::ShortFormat),
+                                QDate::shortMonthName(date.month()),
                                 date.day());
         QString shortstr = QString::number(date.day());
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic