mattlewis92 / angular-calendar

A flexible calendar component for angular 15.0+ that can display events on a month, week or day view.
https://mattlewis-github.com/angular-calendar/
MIT License
2.71k stars 864 forks source link

Recurring options does not have event length. #1690

Closed 0xff00ff closed 8 months ago

0xff00ff commented 8 months ago

i have an event like:

{ id: "id"; title: "title"; start: new Date("2023-01-01T01:01") end: new Date("2023-01-01T02:01") // + 2 hour rrule: { freq: RRule.WEEKLY, dtstart: new Date("2023-01-01T01:01"), until: new Date('2025-01-01T01:01'), // + 2 years byweekday: [RRule.MO, RRule.TU, RRule.WE, RRule.TH, RRule.FR], interval: 10, // from demo, idk if it's needed } } I want to create a recurring event with a fixed length (2 hours, 1,5 hours, etc.) that will repeat every working day for 2 years (for ex.) If i use a regular event i can set the event length by the end date. But if i use a recurring event, the end date breaks the recurring option "until", and i have a recurring event with a fixed start and end date (in my case 2 hours)

How can i combine recurring options with fixed length?

If i use recurring part filled, i don't have event length. If i use the event's end date, i do not have the proper recurring events number.

matts-bot[bot] commented 8 months ago

This issue has been closed automatically as it did not follow the issue template, please open a new issue that follows the bug report or feature request template.

Thank you! ✌️