1
0
mirror of https://github.com/etesync/android synced 2024-12-23 15:18:14 +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:
Tom Hacohen 2018-09-06 16:28:52 +01:00
parent ba0724c1fd
commit 34b8fce5c4
2 changed files with 2 additions and 2 deletions

View File

@ -227,7 +227,7 @@ public class CalendarSyncManager extends SyncManager {
new SimpleDateFormat(dateFormatString,
Locale.US);
Date startDate = event.dtStart.getDate();
Date endDate = event.dtEnd.getDate();
Date endDate = event.getEndDate(true).getDate();
Calendar cal1 = Calendar.getInstance();
Calendar cal2 = Calendar.getInstance();
cal1.setTime(startDate);

@ -1 +1 @@
Subproject commit bf0336bbae0321734464f100ed912c73731f8685
Subproject commit 13282134362f3eb010124762949bc426ee7400c6