Content deleted Content added
No edit summary |
No edit summary |
||
Line 185:
for col = 1, 7 do
local dom = 7 * (row-1) + col + 1 - firstday -- calculate day of month for row/col position
local day;
if props.iso_wk and 1 == col then -- when column 1, insert iso week number <td> ahead of first 'dom'
Line 194 ⟶ 195:
if dom < 1 or dom > daysinmonth[mnum] then
else
end
Line 205 ⟶ 206:
end
table.insert (td_items,
end
|