Defect #7097 ยป redmine-saturday.diff
redmine/app/helpers/application_helper.rb 2011-03-15 21:34:03.251201991 +0330 | ||
---|---|---|
837 | 837 |
'Calendar._FD = 1;' # Monday |
838 | 838 |
when 7 |
839 | 839 |
'Calendar._FD = 0;' # Sunday |
840 |
when 6 |
|
841 |
'Calendar._FD = 6;' # Saturday |
|
840 | 842 |
else |
841 | 843 |
'' # use language |
842 | 844 |
end |
843 | 845 |
|
844 | 846 |
javascript_include_tag('calendar/calendar') + |
845 | 847 |
javascript_include_tag("calendar/lang/calendar-#{current_language.to_s.downcase}.js") + |
846 | 848 |
javascript_tag(start_of_week) + |
redmine/app/views/settings/_display.rhtml 2011-03-15 21:38:45.421201966 +0330 | ||
---|---|---|
5 | 5 | |
6 | 6 |
<p><%= setting_select :default_language, lang_options_for_select(false) %></p> |
7 | 7 | |
8 |
<p><%= setting_select :start_of_week, [[day_name(1),'1'], [day_name(7),'7']], :blank => :label_language_based %></p> |
|
8 |
<p><%= setting_select :start_of_week, [[day_name(1),'1'], [day_name(7),'7'], [day_name(6),'6']], :blank => :label_language_based %></p>
|
|
9 | 9 | |
10 | 10 |
<p><%= setting_select :date_format, Setting::DATE_FORMATS.collect {|f| [Date.today.strftime(f), f]}, :blank => :label_language_based %></p> |