@@ -89,7 +89,7 if show_days | |||||
89 | width = zoom |
|
89 | width = zoom | |
90 | pdf.SetY(y_start + 2 * header_heigth) |
|
90 | pdf.SetY(y_start + 2 * header_heigth) | |
91 | pdf.SetX(left) |
|
91 | pdf.SetX(left) | |
92 |
pdf.Cell(width, height, day_name(wday) |
|
92 | pdf.Cell(width, height, day_name(wday).first, "LTR", 0, "C") | |
93 | left = left + width |
|
93 | left = left + width | |
94 | wday = wday + 1 |
|
94 | wday = wday + 1 | |
95 | wday = 1 if wday > 7 |
|
95 | wday = 1 if wday > 7 |
@@ -162,7 +162,7 if show_days | |||||
162 | width = zoom - 1 |
|
162 | width = zoom - 1 | |
163 | %> |
|
163 | %> | |
164 | <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"> |
|
164 | <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"> | |
165 |
<%= day_name(wday) |
|
165 | <%= day_name(wday).first %> | |
166 | </div> |
|
166 | </div> | |
167 | <% |
|
167 | <% | |
168 | left = left + width+1 |
|
168 | left = left + width+1 |
General Comments 0
You need to be logged in to leave comments.
Login now