Content deleted Content added
No edit summary |
No edit summary |
||
Line 217:
end
-- read dates from localfile -- it assumes dates
elseif cfg.datatype == "localfile" then
local numRecords = tableLength(eventdata) -- Get first and last date of holiday
Line 300:
local args = pframe.args
local tname = "Calendar date"
local holiday = nil
local date = nil
local df = nil
local format = nil
local cite = nil
local calcdate = ""
track = {}
--- Determine holiday
holiday = trimArg(args.holiday)
if not holiday then
holiday = trimArg(args.event)
if not holiday then
return inlineError("holiday", "Missing holiday argument", tname) .. createTracking()
Line 320:
--- Determine date
date = trimArg(args.year)
if not date then
return inlineError("year", "Missing year argument", tname) .. createTracking()
|