[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: calendar_support: kdelibs/kdeui
From: Hans Petter Bieker <bieker () kde ! org>
Date: 2002-12-26 14:17:16
[Download RAW message or body]
CVS commit by bieker:
Use the name of day from the calendar.
M +3 -2 kdatetbl.cpp 1.52.4.5
--- kdelibs/kdeui/kdatetbl.cpp #1.52.4.4:1.52.4.5
@@ -122,7 +122,8 @@ KDateTable::paintCell(QPainter *painter,
QString daystr;
if ( col+firstWeekDay < 8 )
- daystr = KGlobal::locale()->weekDayName(col+firstWeekDay, true);
+ daystr = calendar->weekDayName(col+firstWeekDay, true);
else
- daystr = KGlobal::locale()->weekDayName(col+firstWeekDay-7, true);
+ daystr = calendar->weekDayName(col+firstWeekDay-7, true);
+ // ### HPB Use the KCalendarSystem here?
if ( daystr==i18n("Sunday", "Sun") || daystr==i18n("Saturday", "Sat") )
normalday=false;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic