Caldav: Fix 555 another broken Israeli timezone

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2214 3d1905a2-6b24-0410-a738-b14d5a86fcbd
master
mguessan 9 years ago
parent 465900e7ae
commit 06741a59c9

@ -332,6 +332,12 @@ public class VCalendar extends VObject {
if (rrule != null && rrule.getValues().size() == 3 && "BYDAY=-2SU".equals(rrule.getValues().get(1))) {
rrule.getValues().set(1, "BYDAY=4SU");
}
// Fix 555 another broken Israeli timezone
if (rrule != null && rrule.getValues().size() == 4 && "BYDAY=FR".equals(rrule.getValues().get(1))
&& "BYMONTHDAY=23,24,25,26,27,28,29".equals(rrule.getValues().get(2))) {
rrule.getValues().set(1, "BYDAY=-1FR");
rrule.getValues().remove(2);
}
}
}
}

Loading…
Cancel
Save