Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #195941

Re: Correct: System Thinks Hardware Clock is UTC

From Abdullah Ramazanoğlu <ar018@yahoo.com>
Newsgroups linux.debian.user
Subject Re: Correct: System Thinks Hardware Clock is UTC
Date 2018-05-20 21:50 +0200
Message-ID <vRCv7-cf-1@gated-at.bofh.it> (permalink)
References <vQXLj-T9-1@gated-at.bofh.it> <vQYo1-16h-9@gated-at.bofh.it> <vRC25-8t0-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, 20 May 2018 12:10:01 -0700 Patrick Bartek said:

> On Sat, 19 May 2018 03:52:27 +0300 Abdullah Ramazanoğlu
> <ar018@yahoo.com> wrote:
> 
> > On Fri, 18 May 2018 17:13:07 -0700 Patrick Bartek said:
> >   
> > > I could use hwclock --set --date=<yadda yadda> with the --localtime
> > > option, etc., to correct this but is there an easier way?  
> > 
> > # dpkg-reconfigure tzdata
> > 
> > should do it, I think.  
> 
> tzdata sets the local time zone. Mine is correctly set  The
> problem is the system "thinks" the hardware clock is set to UTC when
> It's really set to local time. So, the time shown for my local time
> zone is incorrect.
> 
> Anyway, thanks for your suggestion.

You are welcome. :)

So, your original idea of using "hwclock --set --date --localtime" seems to be
the best way.

Alternatively, you might try replaying the question-answer sequence regarding
RTC at install time.

~$ dpkg -S /sbin/hwclock
util-linux: /sbin/hwclock

Perhaps "dpkg-reconfigure util-linux" might cause the same install-time
question be asked again (presumably along with other questions).

Regards
-- 
Abdullah Ramazanoğlu

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Correct: System Thinks Hardware Clock is UTC Patrick Bartek <nemommxiv@gmail.com> - 2018-05-19 02:20 +0200
  Re: Correct: System Thinks Hardware Clock is UTC Ben Finney <bignose@debian.org> - 2018-05-19 02:40 +0200
    Re: Correct: System Thinks Hardware Clock is UTC Patrick Bartek <nemommxiv@gmail.com> - 2018-05-20 21:40 +0200
  Re: Correct: System Thinks Hardware Clock is UTC Abdullah Ramazanoğlu <ar018@yahoo.com> - 2018-05-19 03:00 +0200
    Re: Correct: System Thinks Hardware Clock is UTC Patrick Bartek <nemommxiv@gmail.com> - 2018-05-20 21:20 +0200
      Re: Correct: System Thinks Hardware Clock is UTC Abdullah Ramazanoğlu <ar018@yahoo.com> - 2018-05-20 21:50 +0200
        Re: Correct: System Thinks Hardware Clock is UTC Abdullah Ramazanoğlu <ar018@yahoo.com> - 2018-05-20 22:00 +0200
        Re: Correct: System Thinks Hardware Clock is UTC Patrick Bartek <nemommxiv@gmail.com> - 2018-05-21 01:10 +0200
  Re: Correct: System Thinks Hardware Clock is UTC David Wright <deblis@lionunicorn.co.uk> - 2018-05-19 04:00 +0200
    Re: Correct: System Thinks Hardware Clock is UTC Patrick Bartek <nemommxiv@gmail.com> - 2018-05-20 21:20 +0200
      Re: Correct: System Thinks Hardware Clock is UTC Steve McIntyre <steve@einval.com> - 2018-05-20 23:00 +0200
        Re: Correct: System Thinks Hardware Clock is UTC Abdullah Ramazanoğlu <ar018@yahoo.com> - 2018-05-20 23:40 +0200
      Re: Correct: System Thinks Hardware Clock is UTC Greg Wooledge <wooledg@eeg.ccf.org> - 2018-05-21 15:10 +0200
        Re: Correct: System Thinks Hardware Clock is UTC Patrick Bartek <nemommxiv@gmail.com> - 2018-05-21 17:20 +0200
      Re: Correct: System Thinks Hardware Clock is UTC Michael Stone <mstone@debian.org> - 2018-05-21 15:20 +0200
        Re: Correct: System Thinks Hardware Clock is UTC Felix Miata <mrmazda@earthlink.net> - 2018-05-21 16:00 +0200
          Re: Correct: System Thinks Hardware Clock is UTC Michael Stone <mstone@debian.org> - 2018-05-21 16:10 +0200
            Re: Correct: System Thinks Hardware Clock is UTC Felix Miata <mrmazda@earthlink.net> - 2018-05-21 23:30 +0200

csiph-web