Lua 5.2 compatibility

This commit is contained in:
Thijs Schreijer
2013-05-04 21:18:19 +02:00
parent 327c609bac
commit 002ef75e14
5 changed files with 7 additions and 8 deletions

View File

@@ -6,7 +6,7 @@ arg:
file - the name of the file to write the generated text calendar
--]]---------------------
require"date"
local date = require"date"
function makemonth(y,m)
local t = {}

View File

@@ -6,7 +6,7 @@ arg:
file - the name of the file to write the generated text calendar
--]]---------------------
require"date"
local date = require"date"
local htm_foot = [[</body></html>]]
local htm_head = [[<html><head><style>body{color:#000000;background-color:#FFFFFF;font-family:sans-serif;}th{background:#000000;color:#CCCCCC;vertical-align:middle;}td{vertical-align:top;text-align:center;font-weight:bold;}.s{color:#999999;font-size:60%;}</style></head><body>]]