[Kstars-devel] kdeedu/libkdeedu/extdate
Jason Harris
kstars at 30doradus.org
Mon Sep 20 07:53:07 CEST 2004
CVS commit by harris:
Update ExtDatePicker to use the new KDE-like date format strings. One
problem: KGlobal::locale()->dateFormatShort() uses a 2-digit year,
which is especially ambiguous considering the huge range of dates
accessible with ExtDate.
CCMAIL: kstars-devel at kde.org
M +1 -1 extdatepicker.cpp 1.3
--- kdeedu/libkdeedu/extdate/extdatepicker.cpp #1.2:1.3
@@ -242,5 +242,5 @@ ExtDatePicker::dateChangedSlot(const Ext
// line->setText(KGlobal::locale()->formatDate(date, true));
- line->setText( date.toString("MM/dd/yyyy") );
+ line->setText( date.toString( KGlobal::locale()->dateFormatShort() ) );
selectMonth->setText(d->calendar->monthName(date, false));
fillWeeksCombo(date);
More information about the Kstars-devel
mailing list