calendarui/editors/src/calenalldayfield.cpp
branchRCL_3
changeset 86 ed599363c2d7
parent 66 bd7edf625bdd
--- a/calendarui/editors/src/calenalldayfield.cpp	Wed Sep 15 12:11:35 2010 +0300
+++ b/calendarui/editors/src/calenalldayfield.cpp	Wed Oct 13 14:30:35 2010 +0300
@@ -169,8 +169,8 @@
                 }
             }
 		
-		iUnifiedEditor.EditorFields().SetDateField( ECalenEditorStartDate, startDate, EFalse );
-        iUnifiedEditor.EditorFields().SetDateField( ECalenEditorEndDate, endDate, EFalse );
+		iUnifiedEditor.EditorFields().SetDateField( ECalenEditorStartDate, startDate, ETrue );
+        iUnifiedEditor.EditorFields().SetDateField( ECalenEditorEndDate, endDate, ETrue );
         }
      else
         { 
@@ -180,16 +180,16 @@
             TTime startDate = iUnifiedEditor.Edited().StartDateTime();
             TTime endDate = iUnifiedEditor.Edited().EndDateTime();
             
-            iUnifiedEditor.EditorFields().SetDateField( ECalenEditorStartDate, startDate, EFalse );
-            iUnifiedEditor.EditorFields().SetTimeField( ECalenEditorStartTime, startDate, EFalse );
-            iUnifiedEditor.EditorFields().SetDateField( ECalenEditorEndDate, endDate, EFalse );
-            iUnifiedEditor.EditorFields().SetTimeField( ECalenEditorEndTime, endDate, EFalse );
+            iUnifiedEditor.EditorFields().SetDateField( ECalenEditorStartDate, startDate, ETrue );
+            iUnifiedEditor.EditorFields().SetTimeField( ECalenEditorStartTime, startDate, ETrue );
+            iUnifiedEditor.EditorFields().SetDateField( ECalenEditorEndDate, endDate, ETrue );
+            iUnifiedEditor.EditorFields().SetTimeField( ECalenEditorEndTime, endDate, ETrue );
             }
         else if( iUnifiedEditor.GetEntryType()== CCalEntry::EEvent )
             {
             TTime startTime = iUnifiedEditor.Edited().StartDateTime();
-            iUnifiedEditor.EditorFields().SetDateField( ECalenEditorStartDate, startTime, EFalse );
-            iUnifiedEditor.EditorFields().SetTimeField( ECalenEditorStartTime, startTime, EFalse );
+            iUnifiedEditor.EditorFields().SetDateField( ECalenEditorStartDate, startTime, ETrue );
+            iUnifiedEditor.EditorFields().SetTimeField( ECalenEditorStartTime, startTime, ETrue );
             }
         }    
              
@@ -214,11 +214,11 @@
         // AllDay event, delete Start time & End time fields from form.
         if( eventStartTimeCtrl )
             {
-            iUnifiedEditor.DeleteLine( ECalenEditorStartTime,EFalse );
+            iUnifiedEditor.DeleteLine( ECalenEditorStartTime,ETrue );
             }
         if( eventEndTimeCtrl )
             {
-            iUnifiedEditor.DeleteLine( ECalenEditorEndTime,EFalse );
+            iUnifiedEditor.DeleteLine( ECalenEditorEndTime,ETrue );
             }
         }
     else