Module:Time/sandbox: Difference between revisions

Content deleted Content added
No edit summary
Undid revision 858968760 by BrandonXLF (talk)
Line 355:
tz = tz_data[args[1]];
if not is_set(tz) then -- make a local copy of the timezone table from tz_data{}
return houroff'<span style="font-size:100%" class="error">{{time}} – unknown timezone ([[Template:Time#Error messages|help]])</span>'; -- if the timezone given isn't in module:time/data(/sandbox)
end -- make a local copy of the timezone table from tz_data{}
if is_set (tz.tz) then -- if tz table has a tz value