Re: [Krename-users] Date/Time Format Bug
Brought to you by:
domseichter,
stonki
From: Dominik S. <dom...@we...> - 2005-01-12 21:53:05
|
Allready fix in CVS as discussed in private mail with J=F6rg. CU Dom Am Wednesday, 12. January 2005 00:31 schrieb joe...@ep...: > 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, int > ) > { > if( !supports( token ) ) > return QString::null; > > ----> token =3D token.lower(); > if( token.startsWith( getPattern() ) ) > token =3D token.mid( getPattern().length(), token.length() - > getPattern().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 > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Krename-users mailing list > Kre...@li... > https://lists.sourceforge.net/lists/listinfo/krename-users =2D-=20 ********************************************************************** Dominik Seichter - dom...@we... KRename - http://www.krename.net - Powerful batch renamer for KDE KBarcode - http://www.kbarcode.net - Barcode and label printing KDE Mass Mailer - http://www.kmassmailer.net - Mass mailing for KDE SchafKopf - http://schafkopf.berlios.de - Schafkopf, a card game, for KDE ********************************************************************** |