Fix saving task with reminder related to due date
parent
90187876bf
commit
9f654d223b
1
NEWS
1
NEWS
|
@ -17,6 +17,7 @@ Bug fixes
|
||||||
- [web] enable save button when editing the members of a list
|
- [web] enable save button when editing the members of a list
|
||||||
- [web] restore caret position when replying or forwarding a message (#4517)
|
- [web] restore caret position when replying or forwarding a message (#4517)
|
||||||
- [web] localized special mailboxes names in filter editor
|
- [web] localized special mailboxes names in filter editor
|
||||||
|
- [web] fixed saving task with reminder based on due date
|
||||||
|
|
||||||
4.0.1 (2018-07-10)
|
4.0.1 (2018-07-10)
|
||||||
------------------
|
------------------
|
||||||
|
|
|
@ -132,10 +132,7 @@
|
||||||
if (startDate)
|
if (startDate)
|
||||||
[self setStartDate: startDate];
|
[self setStartDate: startDate];
|
||||||
else
|
else
|
||||||
{
|
|
||||||
[self setStartDate: nil];
|
[self setStartDate: nil];
|
||||||
[self removeAllAlarms];
|
|
||||||
}
|
|
||||||
|
|
||||||
// Handle due date
|
// Handle due date
|
||||||
isAllDayDueDate = YES;
|
isAllDayDueDate = YES;
|
||||||
|
@ -158,6 +155,9 @@
|
||||||
else
|
else
|
||||||
[self setDue: nil];
|
[self setDue: nil];
|
||||||
|
|
||||||
|
if (!startDate && !dueDate)
|
||||||
|
[self removeAllAlarms];
|
||||||
|
|
||||||
// Handle time zone
|
// Handle time zone
|
||||||
todoStartDate = (iCalDateTime *)[self uniqueChildWithTag: @"dtstart"];
|
todoStartDate = (iCalDateTime *)[self uniqueChildWithTag: @"dtstart"];
|
||||||
todoDueDate = (iCalDateTime *)[self uniqueChildWithTag: @"due"];
|
todoDueDate = (iCalDateTime *)[self uniqueChildWithTag: @"due"];
|
||||||
|
|
Loading…
Reference in New Issue