From a6a4cce0ebc904d96f7ceccec880c9a183f0066f Mon Sep 17 00:00:00 2001 From: Mauro Iazzi Date: Sat, 4 Apr 2009 23:52:17 +0200 Subject: [PATCH] fixed copy-paste --- mime.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mime.lua b/mime.lua index 72b4a71..d424fad 100644 --- a/mime.lua +++ b/mime.lua @@ -224,7 +224,7 @@ local date_time = function (format) ["hour"] = (V"DIGIT" * V"DIGIT") + V"obs-hour", -- RFC 2822 Section 3.3 ["minute"] = (V"DIGIT" * V"DIGIT") + V"obs-minute", -- RFC 2822 Section 3.3 ["second"] = (V"DIGIT" * V"DIGIT") + V"obs-second", -- RFC 2822 Section 3.3 - ["zone"] = ( (P"+" + P"-") * V"DIGIT" * V"DIGIT" * V"DIGIT" * V"DIGIT") + V"obs-second", -- RFC 2822 Section 3.3 + ["zone"] = ( (P"+" + P"-") * V"DIGIT" * V"DIGIT" * V"DIGIT" * V"DIGIT") + V"obs-zone", -- RFC 2822 Section 3.3 } end @@ -265,6 +265,7 @@ local obs_strict = { ["obs-hour"] = lpeg.P(false), ["obs-minute"] = lpeg.P(false), ["obs-second"] = lpeg.P(false), + ["obs-zone"] = lpeg.P(false), ["obs-angle-addr"] = lpeg.P(false), ["obs-mailbox-list"] = lpeg.P(false), ["obs-address-list"] = lpeg.P(false), -- 2.11.4.GIT