Changes

301 bytes added ,  23:24, 15 July 2021
Pywikibot 6.4.0
local Date = require('Module:Date')._Date
local getArgs = require('Module:Arguments').getArgs

local p = {}

function p.main(frame)
local str = getArgs(frame)[1]
return p._main(str)
end

function p._main(str)
if (Date(str) == nil) then
return 'Invalid'
else
return 'Valid'
end
end

return p