From 6e704aed8ebf408b155b7204b0a3b55c6dde2643 Mon Sep 17 00:00:00 2001 From: Jason Harris Date: Mon, 20 Sep 2004 05:53:07 +0000 Subject: [PATCH] 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@kde.org svn path=/trunk/kdeedu/libkdeedu/; revision=347761 --- extdate/extdatepicker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extdate/extdatepicker.cpp b/extdate/extdatepicker.cpp index 01dd6c6..78e5f0d 100644 --- a/extdate/extdatepicker.cpp +++ b/extdate/extdatepicker.cpp @@ -241,7 +241,7 @@ ExtDatePicker::dateChangedSlot(const ExtDate &date) // const ExtCalendarSystem * calendar = KGlobal::locale()->calendar(); // 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); -- 2.47.3