From 82eeafc1fe609b4a1bada7eb6e6f663bb98bf67a Mon Sep 17 00:00:00 2001 From: Arthur David Olson Date: Mon, 28 Sep 1998 23:04:01 -0400 Subject: [PATCH] SCCS-file: zic.c SCCS-SID: 7.95 --- zic.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zic.c b/zic.c index a443408..57b39d6 100644 --- a/zic.c +++ b/zic.c @@ -901,9 +901,10 @@ const int signable; error(errstring); return 0; } - if (hh < 0 || hh >= HOURSPERDAY || + if ((hh < 0 || hh >= HOURSPERDAY || mm < 0 || mm >= MINSPERHOUR || - ss < 0 || ss > SECSPERMIN) { + ss < 0 || ss > SECSPERMIN) && + !(hh == HOURSPERDAY && mm == 0 && ss == 0)) { error(errstring); return 0; }