Adds support for saturday as the first week day (#7097).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5228 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2011-03-27 15:43:26 +00:00
parent 3ef5daaf35
commit 78af4f429f
4 changed files with 27 additions and 3 deletions
+2
View File
@@ -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