diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/helpers/calendar.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/redmine/helpers/calendar.rb b/lib/redmine/helpers/calendar.rb index ec474025b..9b3c0e816 100644 --- a/lib/redmine/helpers/calendar.rb +++ b/lib/redmine/helpers/calendar.rb @@ -68,6 +68,8 @@ module Redmine 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 |