equal
deleted
inserted
replaced
1149 // In Editor it should be displayed as "StartDate: 15-08-2010 & EndDate:15-08-2010" |
1149 // In Editor it should be displayed as "StartDate: 15-08-2010 & EndDate:15-08-2010" |
1150 // But, while saving EndDate is saved as 12:00am, 16-08-2010. |
1150 // But, while saving EndDate is saved as 12:00am, 16-08-2010. |
1151 TTime startDate = iUnifiedEditor.Edited().StartDateTime(); |
1151 TTime startDate = iUnifiedEditor.Edited().StartDateTime(); |
1152 startDate = CalenDateUtils::BeginningOfDay( startDate ); |
1152 startDate = CalenDateUtils::BeginningOfDay( startDate ); |
1153 iUnifiedEditor.Edited().SetStartDateTimeL(startDate); |
1153 iUnifiedEditor.Edited().SetStartDateTimeL(startDate); |
1154 if( result >= startDate ) |
1154 |
|
1155 if( result >= startDate && (!iUnifiedEditor.iCheck ) || iUnifiedEditor.Edited().EntryType() == CCalEntry::EEvent) |
1155 { |
1156 { |
1156 result += TTimeIntervalDays( KOneDay ); |
1157 result += TTimeIntervalDays( KOneDay ); |
1157 } |
1158 } |
1158 } |
1159 } |
1159 |
1160 |