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

List:       kde-commits
Subject:    branches/KDE/4.1/kdeplasma-addons/applets/fuzzy-clock
From:       Chusslove Illich <caslav.ilic () gmx ! net>
Date:       2008-12-04 11:58:20
Message-ID: 1228391900.469508.17680.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 892415 by ilic:

Also fetch day name from KDE locales. (bport: 892414)

 M  +2 -1      fuzzyClock.cpp  


--- branches/KDE/4.1/kdeplasma-addons/applets/fuzzy-clock/fuzzyClock.cpp #892414:892415
@@ -358,7 +358,8 @@
                                 "%1 %2", day, month);
         }
         if (m_showDay) {
-            QString weekday = QDate::shortDayName(m_date.dayOfWeek());
+            tmpLocale.setDateFormat("%a"); // short weekday
+            QString weekday = tmpLocale.formatDate(m_date);
             m_dateString = i18nc("@label Day of the week with date: "
                                 "%1 short day name, %2 short date",
                                 "%1, %2", weekday, m_dateString);
[prev in list] [next in list] [prev in thread] [next in thread] 

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