#698 Feature request: take into account different lengths of months and years for repeating tasks

Open
opened 1 month ago by andreymal · 1 comments

As I see on try.vikunja.io, the repeating tasks API only uses seconds to calculate next date. But IRL there are some tasks that are tied to a fixed day of month/year, and it would be good if Vikunja could take this into account.

(Not sure how to properly handle 31 Feb... But it seems Google Calendar just skips nonexistent days.) (In general, repeating tasks in Google Calendar is a good role model: they are so powerful.)

For example, I need to pay for the Internet by the 25th of each month:

Current behavior Desired behavior
25 Oct 2020 25 Oct 2020
24 Nov 2020 25 Nov 2020
24 Dec 2020 25 Dec 2020
23 Jan 2021 25 Jan 2021
22 Feb 2021 25 Feb 2021
24 Mar 2021 25 Mar 2021
23 Apr 2021 25 Apr 2021

As another example, I need to pay for cloud storage before January 12 of each year:

Current behavior Desired behavior
12 Jan 2021 12 Jan 2021
12 Jan 2022 12 Jan 2022
12 Jan 2023 12 Jan 2023
12 Jan 2024 12 Jan 2024
11 Jan 2025 12 Jan 2025
11 Jan 2026 12 Jan 2026
As I see on try.vikunja.io, the repeating tasks API only uses seconds to calculate next date. But IRL there are some tasks that are tied to a fixed day of month/year, and it would be good if Vikunja could take this into account. (Not sure how to properly handle 31 Feb... But it seems Google Calendar just skips nonexistent days.) (In general, repeating tasks in Google Calendar is a good role model: they are so powerful.) For example, I need to pay for the Internet by the 25th of each month: | Current behavior | Desired behavior | |------------------|------------------| | 25 Oct 2020 | 25 Oct 2020 | | 24 Nov 2020 | 25 Nov 2020 | | 24 Dec 2020 | 25 Dec 2020 | | 23 Jan 2021 | 25 Jan 2021 | | 22 Feb 2021 | 25 Feb 2021 | | 24 Mar 2021 | 25 Mar 2021 | | 23 Apr 2021 | 25 Apr 2021 | As another example, I need to pay for cloud storage before January 12 of each year: | Current behavior | Desired behavior | |------------------|------------------| | 12 Jan 2021 | 12 Jan 2021 | | 12 Jan 2022 | 12 Jan 2022 | | 12 Jan 2023 | 12 Jan 2023 | | 12 Jan 2024 | 12 Jan 2024 | | 11 Jan 2025 | 12 Jan 2025 | | 11 Jan 2026 | 12 Jan 2026 |
konrad commented 1 month ago
Owner

Thanks for the suggestion!

I think it makes sense to add this to Vikunja. I've added it to the public backlog.

Thanks for the suggestion! I think it makes sense to add this to Vikunja. I've added it to the public backlog.
konrad added the
kind/feature
label 1 month ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.