Test here:
Thu Dec 11 13:12:29 2025
-- Package definition to return to Scribunto - this allows us to define methods that can be called
-- when this module is targeted.
local p = {}
function p.GenerateUI(frame)
local date = os.date("%c", os.time())
local time = mw.html.create('p')
time:tag('div'):wikitext(date):done()
return tostring(time)
end
return p