Module:GSEvent: Difference between revisions

mNo edit summary
mNo edit summary
Line 31: Line 31:
local isotime = lang:formatDate('c', datetime)
local isotime = lang:formatDate('c', datetime)
local smwjson = '{"name":"'..name..'","time":"'..lang:formatDate('c', datetime)..'","length":'..length..',"dc":"'..dc..'","world":'..world..'}'
local smwjson = '{"name":"'..name..'","time":"'..lang:formatDate('c', datetime)..'","length":'..length..',"dc":"'..dc..'","lc":'..location..'}'
mw.smw.set({ ['Events JSON']=smwjson })
mw.smw.set({ ['Events JSON']=smwjson })