Fixed calendar crash when adding task with due time

pull/14/head
Sam Bosley 13 years ago
parent 49ab140a9d
commit ea177983dc

@ -185,6 +185,7 @@ public class GCalHelper {
values.put("dtend", dueDate); values.put("dtend", dueDate);
// setting a duetime to a previously timeless event requires explicitly setting allDay=0 // setting a duetime to a previously timeless event requires explicitly setting allDay=0
values.put("allDay", "0"); values.put("allDay", "0");
values.put("eventTimezone", TimeZone.getDefault().getID());
} else { } else {
values.put("dtstart", tzCorrectedDueDate); values.put("dtstart", tzCorrectedDueDate);
values.put("dtend", tzCorrectedDueDate); values.put("dtend", tzCorrectedDueDate);

Loading…
Cancel
Save