Version: (using KDE KDE 3.2.0) Installed from: RedHat RPMs Compiler: gcc OS: Linux 1) Go to the control center module "Country/Region & Language" (under "Regional & Accessibility"). 2) Click on the "Time & Dates" tab. 3) In either the "Short date format" or the "Date format", change the year from "YYYY" to "YY" (as described in the Help Center for this module for "short/two digit year". 4) Notice that this still displays the date using 4 digits.
Same problem with: Version: KDE 3.2.0 Installed from: source Compiler: gcc 3.3.2 OS: Solaris 8
CVS commit by coolo: fix support for YY aka %y CCMAIL: 73693-done@bugs.kde.org M +2 -2 kcalendarsystem.cpp 1.4.2.1 --- kdelibs/kdecore/kcalendarsystem.cpp #1.4:1.4.2.1 @@ -79,6 +79,6 @@ QString KCalendarSystem::yearString(cons sResult.setNum(year(pDate)); - if (!bShort && sResult.length() == 1 ) - sResult.prepend('0'); + if (bShort && sResult.length() == 4 ) + sResult = sResult.right(2); return sResult;
It works fine. Thank you.