fix month default in UNTIL rules

SCCS-file: zic.c
SCCS-SID: 2.11
This commit is contained in:
Arthur David Olson
2012-07-18 03:01:38 -04:00
committed by Paul Eggert
parent f58cc577ce
commit 22b1533f4e
+1 -1
View File
@@ -856,7 +856,7 @@ char ** fields;
return FALSE;
}
if (nfields <= i_untilmonth)
r.r_month = 1; /* default to January */
r.r_month = TM_JANUARY; /* default to January */
else {
if ((lp = byword(fields[i_untilmonth],
mon_names)) == NULL) {