Jump to content

Module:Sandbox/CanonNi

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by CanonNi (talk | contribs) at 07:03, 2 November 2024 (finish rough idea). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
local Date = require('Module:Date')._Date
local current = require('Module:Date')._current

local p = {}

function p.main(frame)
	local day = Date(frame.args[1]) or string.format('%s %s %s', current.day, current.month, current.year)
	return ": ''As of " + day + frame.args[2]
end

return p