Module:ETEvent: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 27: Line 27:
local isotime = lang:formatDate('c', datetime)
local isotime = lang:formatDate('c', datetime)
local smwjson = '{"name":"'..name..'","time":"'..lang:formatDate('c', datetime)..'","length":'..length..',"fc":"'..fc..'","world":'..world..'}'
local smwjson = '{"name":"'..name..'","time":"'..lang:formatDate('c', datetime)..'","length":'..length..'}'
mw.smw.set({ ['Events JSON']=smwjson })
mw.smw.set({ ['Events JSON']=smwjson })

Navigation menu