summaryrefslogtreecommitdiffstats
path: root/app/views/gantts
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-08-13 18:13:10 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-08-13 18:13:10 +0000
commit3119d1996c3c3fda10309ef39bfd327fb2390151 (patch)
tree470cb75be4b67143e71f94a858bb431bfd1f77d6 /app/views/gantts
parent11d4d8177c7bd3e18f04b10f7b25c33409bf5fc9 (diff)
downloadredmine-3119d1996c3c3fda10309ef39bfd327fb2390151.tar.gz
redmine-3119d1996c3c3fda10309ef39bfd327fb2390151.zip
Use abbr_day_name to get the first letter of the day name (#9839).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10202 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/gantts')
-rw-r--r--app/views/gantts/show.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb
index 7323e84ee..5b9aaa289 100644
--- a/app/views/gantts/show.html.erb
+++ b/app/views/gantts/show.html.erb
@@ -146,7 +146,7 @@ if show_days
width = zoom - 1
%>
<div style="left:<%= left %>px;top:37px;width:<%= width %>px;height:<%= height %>px;font-size:0.7em;<%= "background:#f1f1f1;" if wday > 5 %>" class="gantt_hdr">
- <%= day_name(wday).first %>
+ <%= day_letter(wday) %>
</div>
<%
left = left + width + 1