Skip to content

Commit

Permalink
fix: start date in recurrences (#845)
Browse files Browse the repository at this point in the history
* fix: start date in recurrences

* Update RecurrenceWidget.jsx
  • Loading branch information
giuliaghisini authored and pnicolli committed Dec 20, 2024
1 parent 7b12ae3 commit 18777b4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,8 @@ class RecurrenceWidget extends Component {
formValues['freq'] = FREQUENCES.MONDAYFRIDAY;
} else
formValues[option] = value.map((d) => {
return this.getWeekday(d);
});
return this.getWeekday(d);
});
}
break;
case 'bymonthday':
Expand Down Expand Up @@ -538,7 +538,7 @@ class RecurrenceWidget extends Component {
}
let exdates = Object.assign([], rruleSet.exdates());
let rdates = Object.assign([], rruleSet.rdates());
if (field === 'dstart') dstart = value;
if (field === 'dtstart') dstart = value;
else if (field === 'exdates') exdates = value;
else if (field === 'rdates') rdates = value;
else if (field === 'freq') {
Expand Down

0 comments on commit 18777b4

Please sign in to comment.