Module:Format time/sandbox: Difference between revisions

Content deleted Content added
Create sandbox version of Module:Format time
 
test
 
Line 10:
-- fmt = the format to output the time, according to [[:mw:Help:Extension:ParserFunctions##time]] (default: j xg Y)
-- s (or [1]) = the string to process; should be a date (default: empty string)
return mw.getCurrentFramegetContentLanguage():callParserFunctionformatDate('#time', {args.fmt or 'j xg Y', require('Module:YMD to ISO')._main(args.s or args[1])}, false)
end