width = zoom\r
pdf.SetY(y_start + 2 * header_heigth)\r
pdf.SetX(left)\r
- pdf.Cell(width, height, day_name(wday)[0,1], "LTR", 0, "C")\r
+ pdf.Cell(width, height, day_name(wday).first, "LTR", 0, "C")\r
left = left + width\r
wday = wday + 1\r
wday = 1 if wday > 7\r
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)[0,1] %>
+ <%= day_name(wday).first %>
</div>
<%
left = left + width+1