mirror of
https://github.com/etesync/android
synced 2025-06-09 17:48:52 +00:00
Move to the new method of getting end date.
This also fixes the issues with events having both an end date and duration.
This commit is contained in:
parent
ba0724c1fd
commit
34b8fce5c4
@ -227,7 +227,7 @@ public class CalendarSyncManager extends SyncManager {
|
|||||||
new SimpleDateFormat(dateFormatString,
|
new SimpleDateFormat(dateFormatString,
|
||||||
Locale.US);
|
Locale.US);
|
||||||
Date startDate = event.dtStart.getDate();
|
Date startDate = event.dtStart.getDate();
|
||||||
Date endDate = event.dtEnd.getDate();
|
Date endDate = event.getEndDate(true).getDate();
|
||||||
Calendar cal1 = Calendar.getInstance();
|
Calendar cal1 = Calendar.getInstance();
|
||||||
Calendar cal2 = Calendar.getInstance();
|
Calendar cal2 = Calendar.getInstance();
|
||||||
cal1.setTime(startDate);
|
cal1.setTime(startDate);
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit bf0336bbae0321734464f100ed912c73731f8685
|
Subproject commit 13282134362f3eb010124762949bc426ee7400c6
|
Loading…
Reference in New Issue
Block a user