24:00 warning

SCCS-file: zic.c
SCCS-SID: 7.115
This commit is contained in:
Arthur David Olson
2012-07-18 03:02:41 -04:00
committed by Paul Eggert
parent da111b3de4
commit 3fcfe04a97
+2
View File
@@ -931,6 +931,8 @@ const int signable;
error(errstring);
return 0;
}
if (noise && hh == HOURSPERDAY)
warning(_("24:00 not handled by pre-1998 versions of zic"));
return eitol(sign) *
(eitol(hh * MINSPERHOUR + mm) *
eitol(SECSPERMIN) + eitol(ss));