Patch #20121
Respect working days configuration when sending reminder emails
Status: | New | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Email notifications | |||
Target version: | Candidate for next major release |
Description
Currently the reminder rake task will search for issues that are due in x days in the future without checking the working days configuration of redmine
The attached patch introduces a new argument for the rake task: respect_nonworking_days
. When this argument is TRUE, the working days setting will be respected when calculating the days in the future. E.g. when 7 days are requested and in this period are 2 non working days, the query will search for issues that are due within 9 days.
History
#1
Updated by Alexander Stehlik almost 8 years ago
Version 2 fixes a problem when the end day is in the middle of the weekend and adjusts the email templates.
#2
Updated by Toshi MARUYAMA over 7 years ago
Could you add tests?
source:tags/3.0.4/test/unit/mailer_test.rb#L598
#3
Updated by Go MAEDA about 6 years ago
- Subject changed from Repect working days configuration when sending reminder emails to Respect working days configuration when sending reminder emails
- Target version set to Candidate for next major release