nextcloud / calendar

📆 Calendar app for Nextcloud
https://apps.nextcloud.com/apps/calendar
GNU Affero General Public License v3.0
985 stars 241 forks source link

End repeat - on date #2160

Open HieronymusCH opened 4 years ago

HieronymusCH commented 4 years ago

Steps to reproduce

  1. create new event
  2. set repeat every day
  3. set end repeat on date

Expected behaviour

Let's take my real event as an example. I created a new event on the 14. of April 2020 and set a daily repeat with end repeat on the 17. of April 2020.

Now my expectation and experience with other calendar programs is, that on the end date will be the last occurrence of this event.

Actual behaviour

There's no occurrence on the end date itself. For having the last event on the 17. of April 2020 I have to set the end date to the 18. of April 2020.

Calendar app

2.0.2

Client configuration

Firefox 75.0 (64-Bit) Kubuntu 19.10

Server configuration

Kubuntu 19.10

Apache/2.4.41 (Ubuntu)

10.3.22-MariaDB-0ubuntu0.19.10.1

7.3.11-0ubuntu0.19.10.3

NextCloud 18.0.3

Update stream, manual update

List of activated apps: Enabled:

HieronymusCH commented 4 years ago

Update

Same situation but with starting date on the 20th of April 2020, and repeat with end date on the 24th of April 2020. Behavior as expected: The last occurrence is on the 24th of April 2020.

strange...

HieronymusCH commented 4 years ago

Update

starting date on the 27th of April 2020, repeat with end date on the 30th of April 2020 has the last occurrence missing again.

sbw commented 4 years ago

Problem with weekly events may be related: I created an event starting Wednesday, July 1, weekly on Wednesday, last occurrence on Wednesday, September 2. For the Repeat settings, I used "Repeat every 1 week," "on We(dnesday)," "End repeat on date 09/02/2020." That produced no occurrence on September 2. The last occurrence was on Wednesday, August 26.

Experimentally, I changed it to "End repeat on date 09/03/2020," that is, the day after the last occurrence. That caused no change: The last occurrence was still August 26.

So I changed it to "End repeat on date 09/09/2020," the Wednesday one day after the intended last occurrence. That caused the last occurrence on September 2 to appear, but no occurrence on September 9.

I suppose one might argue what, specifically "end on date" means. Perhaps it should be "end the Wednesday before date." ("End before date" isn't correct, because ending on the Thursday didn't work.)

But I think it should just end ON the date specified! So the wording should be "repeat through date," not "end on ..."

manfredu commented 4 years ago

It happens to me as well that the last occurence of a repeating event does not appear on the calendar.

darmbrust commented 4 years ago

Seems to be a regression as well, never noticed this issue on earlier versions. I see it here too...

manfredu commented 4 years ago

Am 03.11.2020 18:13, schrieb Dan Armbrust:

Seems to be a regression as well, never noticed this issue on earlier versions. I see it here too...

I'm seeing this since quite a while with weekly repeated events. The calender entry is missing in the last week.