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

List:       kde-commits
Subject:    KDE/kdepimlibs/kcal
From:       Allen Winter <winter () kde ! org>
Date:       2010-05-16 16:34:44
Message-ID: 20100516163444.E47BEAC8B5 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1127454 by winterz:

merge forward SVN commit 1127450 by winterz:

print a to-do start time on the invitation, if there is one.


 M  +6 -0      incidenceformatter.cpp  


--- trunk/KDE/kdepimlibs/kcal/incidenceformatter.cpp #1127453:1127454
@@ -1478,9 +1478,15 @@
 
   if ( todo->hasStartDate() && todo->dtStart().isValid() ) {
     html += invitationRow( i18n( "Start Date:" ), dateToString( todo->dtStart(), false, spec ) );
+    if ( !todo->allDay() ) {
+      html += invitationRow( i18n( "Start Time:" ), timeToString( todo->dtStart(), false, spec ) );
   }
+  }
   if ( todo->hasDueDate() && todo->dtDue().isValid() ) {
     html += invitationRow( i18n( "Due Date:" ), dateToString( todo->dtDue(), false, spec ) );
+    if ( !todo->allDay() ) {
+      html += invitationRow( i18n( "Due Time:" ), timeToString( todo->dtDue(), false, spec ) );
+    }
   } else {
     html += invitationRow( i18n( "Due Date:" ), i18nc( "no to-do due date", "None" ) );
   }
[prev in list] [next in list] [prev in thread] [next in thread] 

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