From e2ef8c9b0acb56954d65f4b814a9331a329ca8fe Mon Sep 17 00:00:00 2001 From: ewt Date: Thu, 30 Jan 1997 20:09:42 +0000 Subject: [PATCH] set the time on changelogs to noon UTC CVS patchset: 1389 CVS date: 1997/01/30 20:09:42 --- build/spec.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/spec.c b/build/spec.c index e3f1d23..6fc81a4 100644 --- a/build/spec.c +++ b/build/spec.c @@ -549,6 +549,9 @@ static int dateToTimet(const char * datestr, time_t * secs) /* day */ if ((chptr = strtok(NULL, " \t\n")) == NULL) return -1; + /* make this noon so the day is always right (as we make this UTC) */ + time.tm_hour = 12; + time.tm_mday = strtol(chptr, &chptr, 10); if (*chptr) return -1; if (time.tm_mday < 0 || time.tm_mday > lengths[time.tm_mon]) return -1; -- 2.7.4