[Krename-users] Date/Time Format Bug
Brought to you by:
domseichter,
stonki
From: <joe...@ep...> - 2005-01-11 23:31:45
|
Hi, I found a bug in DatePlugin.cpp which suppress capitals in date/time form= at strings. (krename-3.0.3rc2) QString DatePlugin::processFile(BatchRenamer* b, int i, QString token, in= t ) { if( !supports( token ) ) return QString::null; ----> token =3D token.lower(); if( token.startsWith( getPattern() ) ) token =3D token.mid( getPattern().length(), token.length() - getP= attern().length() ); QDate d =3D QDate::currentDate(); QTime t =3D QTime::currentTime(); QString tmp, text; QString format =3D "dd-MM-yyyy"; if( token.contains( ";" ) ) { format =3D token.section( ';', 1, 1 ); token =3D token.section( ';', 0, 0 ); } ----> it should be placed here Regards J=F6rg ________________________________________ http://www.epost.de - das Kommunikationsportal der Deutschen Post |