[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/kdepim/enterprise4/kdepim/kresources/kolab/shared
From:       Allen Winter <winter () kde ! org>
Date:       2009-04-30 20:30:48
Message-ID: 1241123448.812030.32677.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 961861 by winterz:

use chop(1) instead of truncate(length()-1)
improve the comments.

again. do NOT merge this to e35. but DO merge to trunk and 4.2

CCMAIL: till@kdab.net


 M  +1 -1      kolabbase.cpp  


--- branches/kdepim/enterprise4/kdepim/kresources/kolab/shared/kolabbase.cpp #961860:961861
@@ -424,7 +424,7 @@
 {
   QString date( _date );
   //Deal with data from some clients that always append a Z to dates.
-  //In Qt4, Qt::ISODate must see a trailing Z for UTC, so keep such.
+  //In Qt4, Qt::ISODate must see a trailing Z for UTC, so keep one trailing Z.
   if ( date.endsWith( "ZZ" ) )
     date.chop( 1 );
   return KDateTime::fromString( date, KDateTime::ISODate );
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic