Patch #20121

Respect working days configuration when sending reminder emails

Added by Alexander Stehlik almost 8 years ago. Updated about 6 years ago.

Status:NewStart date:
Priority:NormalDue 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.

redmine-reminder_respect_nonworking_days.diff Magnifier (2.48 KB) Alexander Stehlik, 2015-06-17 18:24

redmine-reminder_respect_nonworking_days-v2.diff Magnifier (6.75 KB) Alexander Stehlik, 2015-06-17 19:01

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

#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

Also available in: Atom PDF