Version: 1.3.1 (using KDE 3.2.2, SuSE) Compiler: gcc version 3.3.3 (SuSE Linux) OS: Linux (i686) release 2.6.4-54.5-smp currenlty only the first 2 variables (fixed and variable date) allow to choose the date format IMHO this feature should be available for all date variables (last modified, printed etc) cu ferdinand
- Making this to a bug. (The way how it is currently implemented is buggy.) - Moving to KOffice/General, as the code is in the KOffice libraries. - Making it to a "junior job". Have a nice day!
---------- Forwarded Message ---------- Subject: KOFFICE_1_3_BRANCH: koffice/lib Date: Friday 23 July 2004 13:20 From: David Faure <faure@kde.org> To: kde-cvs@kde.org Cc: p.stirnweiss_koffice@bluewin.ch CVS commit by faure: Fix for #82198 (date format for some date variables) Patch by p.stirnweiss_koffice@bluewin.ch - thanks! CCMAIL: p.stirnweiss_koffice@bluewin.ch M +1 -1 CHANGES 1.17.2.33 M +1 -1 kotext/kovariable.cc 1.135.2.2 --- koffice/lib/CHANGES #1.17.2.32:1.17.2.33 @@ -8,5 +8,5 @@ KoText: -- +- Fixed date format not available for some date variables (#82198) Changes between KOffice-1.3.1 and KOffice-1.3.2 --- koffice/lib/kotext/kovariable.cc #1.135.2.1:1.135.2.2 @@ -746,5 +746,5 @@ KoVariable * KoVariableCollection::creat case VT_DATE_VAR_KWORD10: // compatibility with kword 1.0 { - if ( _forceDefaultFormat || subtype == KoDateVariable::VST_DATE_LAST_PRINTING || subtype ==KoDateVariable::VST_DATE_CREATE_FILE || subtype ==KoDateVariable::VST_DATE_MODIFY_FILE) + if ( _forceDefaultFormat ) varFormat = coll->format( KoDateVariable::defaultFormat() ); else -------------------------------------------------------