Mercurial > hg > soundsoftware-site
diff lib/redmine/helpers/calendar.rb @ 441:cbce1fd3b1b7 redmine-1.2
Update to Redmine 1.2-stable branch (Redmine SVN rev 6000)
author | Chris Cannam |
---|---|
date | Mon, 06 Jun 2011 14:24:13 +0100 |
parents | 513646585e45 |
children | cbb26bc654de |
line wrap: on
line diff
--- a/lib/redmine/helpers/calendar.rb Thu Mar 03 11:42:28 2011 +0000 +++ b/lib/redmine/helpers/calendar.rb Mon Jun 06 14:24:13 2011 +0100 @@ -68,6 +68,8 @@ case Setting.start_of_week.to_i when 1 @first_dow ||= (1 - 1)%7 + 1 + when 6 + @first_dow ||= (6 - 1)%7 + 1 when 7 @first_dow ||= (7 - 1)%7 + 1 else