Skip to content

Commit

Permalink
Move to the new method of getting end date.
Browse files Browse the repository at this point in the history
This also fixes the issues with events having both an end date
and duration.
  • Loading branch information
tasn committed Sep 6, 2018
1 parent ba0724c commit 34b8fce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -227,7 +227,7 @@ private static String formatEventDates(Event event) {
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);
Expand Down
2 changes: 1 addition & 1 deletion ical4android
Submodule ical4android updated from bf0336 to 132821

0 comments on commit 34b8fce

Please sign in to comment.