Mercurial > hg > soundsoftware-site
diff lib/redmine/helpers/calendar.rb @ 514:7eba09d624db live
Merge
author | Chris Cannam |
---|---|
date | Thu, 14 Jul 2011 10:50:53 +0100 |
parents | cbce1fd3b1b7 |
children | cbb26bc654de |
line wrap: on
line diff
--- a/lib/redmine/helpers/calendar.rb Thu Jul 14 10:46:20 2011 +0100 +++ b/lib/redmine/helpers/calendar.rb Thu Jul 14 10:50:53 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