diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-05-02 19:13:38 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-05-02 19:13:38 +0000 |
commit | 78b5e57a4ad8c29f166af268dfe4bc64aac541ca (patch) | |
tree | 2b8d9d89bb264f183105302ee924cdfa3f20ae33 /app/views/projects/gantt.rfpdf | |
parent | 10a49d476d93da7fcce534b5875ebaac0c0facdf (diff) | |
download | redmine-78b5e57a4ad8c29f166af268dfe4bc64aac541ca.tar.gz redmine-78b5e57a4ad8c29f166af268dfe4bc64aac541ca.zip |
Fixed an unicode problem on gantt (first letter of the day name)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@501 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects/gantt.rfpdf')
-rw-r--r-- | app/views/projects/gantt.rfpdf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/gantt.rfpdf b/app/views/projects/gantt.rfpdf index f5e64b1b3..a293906ba 100644 --- a/app/views/projects/gantt.rfpdf +++ b/app/views/projects/gantt.rfpdf @@ -89,7 +89,7 @@ if show_days width = zoom
pdf.SetY(y_start + 2 * header_heigth)
pdf.SetX(left)
- pdf.Cell(width, height, day_name(wday)[0,1], "LTR", 0, "C")
+ pdf.Cell(width, height, day_name(wday).first, "LTR", 0, "C")
left = left + width
wday = wday + 1
wday = 1 if wday > 7
|