Calculate a due date with a offset when creating a issue and avoid the due date falling on the weekend.
When creating an issue, the start date is used to calculate the due date and will be set after the save button is clicked.
If the due date is missing, it will be calculated based on the start date.
-
Follow the Redmine plugin installation steps at: www.redmine.org/wiki/redmine/Plugins
-
Set custom offset in the file: lib/issue_controller_patch.rb
(eg. the following line sets the due date off by 3 days)
params[:issue][:due_date] = next_weekday(Time.now, 3).strftime("%m/%d/%Y").to_s
-
Restart your Redmine web servers (e.g. mongrel, thin, mod_rails)
-
Redmine 1.2.1 or later (may work on earlier verisons, but not tested for it)
-
v0.0.1 - Release
Aaron Addleman © 2011 9thport. 9thport.net