Content deleted Content added
BrandonXLF (talk | contribs) Undid revision 859604807 by BrandonXLF (talk) |
BrandonXLF (talk | contribs) No edit summary |
||
Line 257:
local patterns = {
'^([%+%-±−]?)(%d%d?)(%.)(%d
'^([%+%-±−]?)(%d%d?)(:)(%d%d)$', -- two minute digits
'^([%+%-±−]?)(%d%d?)[%.:]?$', -- hours only; ignore trailing separator
Line 268:
end
end
if not h then
return utc_offset; -- did not match a pattern
|