calendar icon indicating copy to clipboard operation
calendar copied to clipboard

End repeat - on date

Open HieronymusCH opened this issue 6 years ago • 7 comments

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:

  • accessibility: 1.4.0
  • activity: 2.11.0
  • admin_audit: 1.8.0
  • apporder: 0.9.0
  • audioplayer: 2.9.0
  • audioplayer_editor: 0.2.0
  • bruteforcesettings: 1.6.0
  • calendar: 2.0.2
  • carnet: 0.20.0
  • checksum: 0.4.4
  • cloud_federation_api: 1.1.0
  • comments: 1.8.0
  • contacts: 3.2.0
  • cookbook: 0.6.3
  • cospend: 0.4.5
  • data_request: 1.5.0
  • dav: 1.14.0
  • deck: 0.8.0
  • federatedfilesharing: 1.8.0
  • federation: 1.8.0
  • files: 1.13.1
  • files_antivirus: 2.3.0
  • files_external: 1.9.0
  • files_fulltextsearch: 1.4.2
  • files_markdown: 2.2.0
  • files_mindmap: 0.0.20
  • files_pdfviewer: 1.7.0
  • files_rightclick: 0.15.2
  • files_sharing: 1.10.1
  • files_trashbin: 1.8.0
  • files_versions: 1.11.0
  • files_videoplayer: 1.7.0
  • firstrunwizard: 2.7.0
  • forms: 1.1.1
  • fulltextsearch: 1.4.1
  • groupquota: 0.1.2
  • keeweb: 0.6.2
  • logreader: 2.3.0
  • lookup_server_connector: 1.6.0
  • mail: 1.1.4
  • maps: 0.1.6
  • metadata: 0.11.1
  • music: 0.13.2
  • news: 14.1.3
  • nextbackup: 19.12.1
  • nextcloud_announcements: 1.7.0
  • notifications: 2.6.0
  • oauth2: 1.6.0
  • ocr: 6.0.29
  • ownpad: 0.6.14
  • password_policy: 1.8.0
  • photos: 1.0.0
  • polls: 1.3.0
  • previewgenerator: 2.3.0
  • privacy: 1.2.0
  • provisioning_api: 1.8.0
  • quota_warning: 1.7.0
  • recommendations: 0.6.0
  • registration: 0.4.7
  • serverinfo: 1.8.0
  • settings: 1.0.0
  • sharebymail: 1.8.0
  • sharerenamer: 2.7.3
  • sociallogin: 2.4.5
  • socialsharing_diaspora: 2.0.0
  • spreed: 8.0.7
  • support: 1.1.0
  • survey_client: 1.6.0
  • systemtags: 1.8.0
  • tasks: 0.12.1
  • text: 2.0.0
  • theming: 1.9.0
  • timetracker: 0.0.42
  • twofactor_backupcodes: 1.7.0
  • twofactor_totp: 4.1.3
  • updatenotification: 1.8.0
  • viewer: 1.2.0
  • workflowengine: 2.0.0 Disabled:
  • bookmarks
  • encryption
  • user_ldap

HieronymusCH avatar Apr 08 '20 07:04 HieronymusCH

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 avatar Apr 08 '20 07:04 HieronymusCH

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.

HieronymusCH avatar Apr 08 '20 07:04 HieronymusCH

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 ..."

sbw avatar Jun 24 '20 21:06 sbw

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

manfredu avatar Jun 25 '20 19:06 manfredu

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

darmbrust avatar Nov 03 '20 17:11 darmbrust

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.

manfredu avatar Nov 04 '20 09:11 manfredu

Fixed (tested OP's scenarios back to 2020). Not sure of PR offhand.

joshtrichards avatar Jan 17 '25 00:01 joshtrichards