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

List:       kde-commits
Subject:    KDE/kdepim/korganizer/printing
From:       Allen Winter <winter () kde ! org>
Date:       2010-04-17 11:28:48
Message-ID: 20100417112848.A1775AC89C () svn ! kde ! org
[Download RAW message or body]

SVN commit 1115753 by winterz:

Do not truncate start/endtime of truncated events in KOrganizer's print styles.
Patch provided by Reinhold.
http://reviewboard.kde.org/r/3625

MERGE: 4.4


 M  +4 -4      calprintpluginbase.cpp  


--- trunk/KDE/kdepim/korganizer/printing/calprintpluginbase.cpp #1115752:1115753
@@ -988,14 +988,14 @@
       if ( event->location().isEmpty() ) {
         str = i18nc( "starttime - endtime summary",
                      "%1-%2 %3",
-                     KGlobal::locale()->formatTime( startTime.toLocalZone().time() ),
-                     KGlobal::locale()->formatTime( endTime.toLocalZone().time() ),
+                     KGlobal::locale()->formatTime( item->start().toLocalZone().time() ),
+                     KGlobal::locale()->formatTime( item->end().toLocalZone().time() ),
                      cleanStr( event->summary() ) );
       } else {
         str = i18nc( "starttime - endtime summary, location",
                      "%1-%2 %3, %4",
-                     KGlobal::locale()->formatTime( startTime.toLocalZone().time() ),
-                     KGlobal::locale()->formatTime( endTime.toLocalZone().time() ),
+                     KGlobal::locale()->formatTime( item->start().toLocalZone().time() ),
+                     KGlobal::locale()->formatTime( item->end().toLocalZone().time() ),
                      cleanStr( event->summary() ),
                      cleanStr( event->location() ) );
       }
[prev in list] [next in list] [prev in thread] [next in thread] 

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