Module:Time/sandbox: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 671:
if '-' == sign then sign = -1; else sign = 1; end
if is_set (hours) and is_set (minutes) then
return sign * hours*+':'*+minutes;
else
return nil; -- we require that all timezone table have what appears to be a valid offset