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] restore caret position when replying or forwarding a message (#4517)
|
||||
- [web] localized special mailboxes names in filter editor
|
||||
- [web] fixed saving task with reminder based on due date
|
||||
|
||||
4.0.1 (2018-07-10)
|
||||
------------------
|
||||
|
|
|
@ -132,10 +132,7 @@
|
|||
if (startDate)
|
||||
[self setStartDate: startDate];
|
||||
else
|
||||
{
|
||||
[self setStartDate: nil];
|
||||
[self removeAllAlarms];
|
||||
}
|
||||
|
||||
// Handle due date
|
||||
isAllDayDueDate = YES;
|
||||
|
@ -158,6 +155,9 @@
|
|||
else
|
||||
[self setDue: nil];
|
||||
|
||||
if (!startDate && !dueDate)
|
||||
[self removeAllAlarms];
|
||||
|
||||
// Handle time zone
|
||||
todoStartDate = (iCalDateTime *)[self uniqueChildWithTag: @"dtstart"];
|
||||
todoDueDate = (iCalDateTime *)[self uniqueChildWithTag: @"due"];
|
||||
|
|
Loading…
Reference in New Issue