aboutsummaryrefslogtreecommitdiffstats
path: root/src/ragel
diff options
context:
space:
mode:
Diffstat (limited to 'src/ragel')
-rw-r--r--src/ragel/smtp_date.rl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ragel/smtp_date.rl b/src/ragel/smtp_date.rl
index 35ed7499c..90c34b9de 100644
--- a/src/ragel/smtp_date.rl
+++ b/src/ragel/smtp_date.rl
@@ -180,13 +180,13 @@
minute = digit_2;
second = digit_2;
time_of_day = hour >Hour_Start %Hour_End ":" minute >Minute_Start %Minute_End (":" second >Second_Start %Second_End )?;
- zone = FWS ("+" | "-") %TZ_Sign digit_4 >TZ_Offset_Start %TZ_Offset_End;
+ zone = ("+" | "-") %TZ_Sign digit_4 >TZ_Offset_Start %TZ_Offset_End;
obs_zone = "UT" %TZ_UT | "GMT" %TZ_GMT |
"EST" %TZ_EST | "EDT" %TZ_EDT |
"CST" %TZ_CST | "CDT" %TZ_CDT |
"MST" %TZ_MST | "MDT" %TZ_MDT |
"PST" %TZ_PST | "PDT" %TZ_PDT |
[a-iA-I] | [k-zK-Z];
- time = time_of_day %DT_End (zone | obs_zone %Obs_Zone_End) FWS*;
+ time = time_of_day %DT_End FWS (zone | obs_zone %Obs_Zone_End) FWS*;
date_time = (day_of_week ",")? date time;
}%%