[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hwclock problems



On Wed, Jul 28, 1999 at 07:17:22PM -0700, Alex Romosan wrote:
> i've noticed a really strange problem with the clock on my system
> after updating this morning to util-linux 2.9t-2 (and maybe libc6
> 2.1.2-0pre2). what happens is that the local timezone information and
> the utc time are swapped. for example:
> 
> >date
> Thu Jul 29 02:15:36 PDT 1999
> >hwclock
> Thu Jul 29 02:15:38 1999  -0.116663 seconds
> > hwclock -u
> Wed Jul 28 19:15:39 1999  -0.689534 seconds
> 
> but date --utc works correctly. has anybody else seen this?
> 

It's ok. Read manpage of hwclock. Hwclock doesn't know about timezone of
your RTC. You have two possibilities: utc or localtime.
I see you use locatime (GMT-7) and 02:15:38 (local) == 19:15:38 (UTC).


Mirek


Reply to: