Newsgroups: comp.os.coherent
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!ficc!lpape
From: lpape@ficc.ferranti.com (Lori Pape)
Subject: Re: Time of day
Message-ID: <VOHBQG3@xds7.ferranti.com>
Organization: Ferranti International Controls Corporation
Date: Wed, 22 May 91 18:16:22 GMT

I think I've figured out how to "fix" time of day so it is correct.
I'm not sure this is the "RIGHT THING" to do, but it works; time
is correct in Coherent and in DOS when I boot the machine, and it
stays that way, even after reboot. (Watch this space in October, huh?).

Reading TIMEZONE in manual pages showed that my timezone seemed
to be correct (CST:360:CDT:1.1.4:-1.1.10:2:60); the released version
had only the first 4 fields here, I added the last three & it made
no difference.

In DOS, the time was correct, and /etc/ATclock showed this time
correctly, too.

It turns out that the /etc/brc and /etc/rc files (these are
executed when Coherent boots single-user and multi-user, respectively)
use something like the following to set the time:

         /bin/date -s '/etc/ATclock' >/dev/null

(where -s means suppress daylight savings time conversion when
setting the time, according to the manual).  I removed the -s from
each of these date commands, and everything is okay now.

Maybe some AT clocks don't automatically handle daylight savings time
change over (mine does), so they'd be off by an hour & Coherent would
adjust accordingly? Anyway, to those of you who echoed that you were
having the same problem, give this a try.

Lori Pape
lpape@ficc.ferranti.com
