Documentation for this module may be created at Module:Sandbox/Andrybak/doc

local function list(frame)
	local start = 1609455600
	local images = {}
	for t = 0, 512, 1
	do
		local d = os.date("%Y-%m-%d", start + t * 24 * 60 * 60)
		local image = frame:expandTemplate{
			title = "POTD/" .. d,
			args = { "image" }
		}
		table.insert(images, image)
	end
	return frame:preprocess(table.concat(images, "<br />"))
end

p = {}
p.list = list
return p