dev

This module was made as a sandbox for the user User123698745. This documentation is kept to prevent redlinks.


require('Dev:No globals')
local inspect = require('Dev:Inspect').inspect
local getArgs = require('Dev:Arguments').getArgs
local date = require('Dev:Date')

local function _main(args, ff)
	local d = date(args[1])
	return d:fmt('%B %G')
end

local p = {}

function p.main(frame)
    return _main(getArgs(frame), {preprocess=function(t)return frame and frame.preprocess and frame:preprocess(t)or t end,expandTemplate=function(t,a)return frame and frame.expandTemplate and frame:expandTemplate{title=t,args=a}or'{{'..t..'}}'end})
end

return p