Module:Format time: Difference between revisions

Content deleted Content added
m HouseBlaster moved page Module:Format date to Module:Format time: time
args[1]
Line 9:
-- args is a table with two values:
-- 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.getCurrentFrame():callParserFunction('#time', {args.fmt or 'j xg Y', require('Module:YMD to ISO')._main(args.s or args[1])})
end