File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -57,8 +57,11 @@ export class Occurrence {
5757 return window . moment ( this . dueDate ) ;
5858 }
5959
60- // If the `removeScheduledDateOnRecurrence` setting is enabled, pick the
61- // `startDate` before the `scheduledDate`.
60+ // If the `removeScheduledDateOnRecurrence` setting is enabled, it does
61+ // not make sense to pick the scheduled date over the start date because
62+ // the scheduled date will be deleted in the newly created task. So if
63+ // this setting is enabled, and there is a start date, we pick that date
64+ // now before falling back on the standard logic below.
6265 const { removeScheduledDateOnRecurrence } = getSettings ( ) ;
6366 if ( removeScheduledDateOnRecurrence && this . startDate ) {
6467 return window . moment ( this . startDate ) ;
You can’t perform that action at this time.
0 commit comments