Content deleted Content added
No edit summary |
No edit summary |
||
Line 302:
end
local
local cfg = data.cfg; -- get the configuration table
local tz_data = data.tz_data; -- get the tz data table
if args[1] then
Line 328 ⟶ 330:
end
df = args.df or args[2] or tz.df or 'mdy'; -- template |df= overrides typical df from tz properties
df = df:lower(); -- normalize to lower case
if not cfg.df_vals[df] then
return '<span style="font-size:100%" class="error">{{time}} – invalid date format ([[Template:Time#Error messages|help]])</span>';
end
|