Content deleted Content added
Tested change and it works. |
Jackmcbarn (talk | contribs) Give a better error for an invalid month |
||
Line 205:
['December'] = 12
}
if not monthList[month] then
error('Invalid month ' .. month)
end
local seconds = os.time() - os.time({year = year, month = monthList[month], day = day, hour = 0, min = 0, sec = 0})
|