-
-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] maintenance_plan: Set the correct date in monthly interval + ad…
…d freeze_time to tests Possible use cases in monthly interval: A: start_maintenance_date is NOT the last day of the month: 2023-10-25. The following dates must be on the 25th day: 2023-11-25, 2023-12-25, 2024-01-25 therefore relativedelta(months=interval) can be used B: start_maintenance_date IS the last day of the month: 2023-10-31 The following dates must be the last day of each month: 2023-11-30, 2023-12-31, 2024-01-31 therefore relativedelta(day=1, months=interval + 1, days=-1) will be used
- Loading branch information
1 parent
07245e0
commit a1b7035
Showing
3 changed files
with
82 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters