Adjust hide until when due date changed remotely

pull/513/head
Alex Baker 6 years ago
parent 4c6280d291
commit 78db592ed1

@ -56,10 +56,10 @@ public class CaldavConverter {
} else {
Date dueDate = due.getDate();
if (dueDate instanceof DateTime) {
local.setDueDate(Task.createDueDate(URGENCY_SPECIFIC_DAY_TIME, dueDate.getTime()));
local.setDueDateAdjustingHideUntil(Task.createDueDate(URGENCY_SPECIFIC_DAY_TIME, dueDate.getTime()));
} else {
try {
local.setDueDate(
local.setDueDateAdjustingHideUntil(
Task.createDueDate(
URGENCY_SPECIFIC_DAY, DUE_DATE_FORMAT.parse(due.getValue()).getTime()));
} catch (ParseException e) {

Loading…
Cancel
Save