##// END OF EJS Templates
scm: git: unit model latin-1 path encoding test passes on Japanese Windows (#5251)....
scm: git: unit model latin-1 path encoding test passes on Japanese Windows (#5251). Ruby uses ANSI api to fork a process on Windows. Japanese Shift_JIS and Traditional Chinese Big5 have 0x5c(backslash) problem and these are incompatible with ASCII. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5072 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3237:7ef20cc169e7
r4952:b235e3694628
Show More
_calendar.rhtml
8 lines | 621 B | text/html+ruby | RhtmlLexer
<h3><%= l(:label_calendar) %></h3>
<% calendar = Redmine::Helpers::Calendar.new(Date.today, current_language, :week)
calendar.events = Issue.visible.find :all,
:conditions => ["#{Issue.table_name}.project_id in (#{@user.projects.collect{|m| m.id}.join(',')}) AND ((start_date>=? and start_date<=?) or (due_date>=? and due_date<=?))", calendar.startdt, calendar.enddt, calendar.startdt, calendar.enddt],
:include => [:project, :tracker, :priority, :assigned_to] unless @user.projects.empty? %>
<%= render :partial => 'common/calendar', :locals => {:calendar => calendar } %>