Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #256315
| From | Cindy Sue Causey <butterflybytes@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: differences between hwclock <-> date due to time zone issues? ... |
| Date | 2023-03-23 23:30 +0100 |
| Message-ID | <GcBBv-eC7p-3@gated-at.bofh.it> (permalink) |
| References | <GcAYN-eBEG-1@gated-at.bofh.it> <GcBi9-eC0I-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 3/23/23, Cindy Sue Causey <butterflybytes@gmail.com> wrote: > On 3/23/23, Albretch Mueller <lbrtchx@gmail.com> wrote: >> I am using this (yes, visually cr@ppy ;-)) code snippet to set back >> the time 5 hours. hwclock tells me it worked fine but the terminal >> windows opened before and after running hwclock still give me the >> "old" time setting? >> >> _HRS_PM=-5 >> < snipped for brevity > > > just battled this topic a couple months ago but can't remember which > operating system. It was fixed INSTANTLY by creating /etc/adjtime (if > it doesn't already exist) then entering the following: > > 0.0 0 0.0 > 0 > UTC > > Once saved, it takes just a few seconds then, BAM, there it is! > Everything matches.. IF the hardware clock is set to universal time. > < snipped for brevity > Not quite. I forgot to say you also need to issue the following command afterward: # dpkg-reconfigure tzdata That's where you get to pick your timezone which is the other thing I forgot to mention. I saw Stefan referenced the topic so I wasn't going to create any more noise until I realized I'd left off tzdata. The good news there is the Debian debootstrap link covers that, too: https://www.debian.org/releases/wheezy/amd64/apds03.html.en#idp7856176 Next time I'll try to remember to fully read my own offered resource before hitting "Send". Cindy :) -- Talking Rock, Pickens County, Georgia, USA * runs with birdseed *
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
differences between hwclock <-> date due to time zone issues? ... Albretch Mueller <lbrtchx@gmail.com> - 2023-03-23 22:50 +0100
Re: differences between hwclock <-> date due to time zone issues? ... Stefan Monnier <monnier@iro.umontreal.ca> - 2023-03-23 23:10 +0100
Re: differences between hwclock <-> date due to time zone issues? ... Cindy Sue Causey <butterflybytes@gmail.com> - 2023-03-23 23:10 +0100
Re: differences between hwclock <-> date due to time zone issues? ... Cindy Sue Causey <butterflybytes@gmail.com> - 2023-03-23 23:30 +0100
Re: differences between hwclock <-> date due to time zone issues? ... David Wright <deblis@lionunicorn.co.uk> - 2023-03-23 23:50 +0100
Re: differences between hwclock <-> date due to time zone issues? ... Andy Smith <andy@strugglers.net> - 2023-03-24 15:50 +0100
Re: differences between hwclock <-> date due to time zone issues? ... Albretch Mueller <lbrtchx@gmail.com> - 2023-03-24 18:20 +0100
Re: differences between hwclock <-> date due to time zone issues? ... Greg Wooledge <greg@wooledge.org> - 2023-03-24 22:50 +0100
Re: differences between hwclock <-> date due to time zone issues? ... Stefan Monnier <monnier@iro.umontreal.ca> - 2023-03-24 23:00 +0100
Re: differences between hwclock <-> date due to time zone issues? ... Greg Wooledge <greg@wooledge.org> - 2023-03-24 23:10 +0100
Re: differences between hwclock <-> date due to time zone issues? ... Stefan Monnier <monnier@iro.umontreal.ca> - 2023-03-25 00:20 +0100
Re: differences between hwclock <-> date due to time zone issues? ... Albretch Mueller <lbrtchx@gmail.com> - 2023-03-25 01:10 +0100
Re: differences between hwclock <-> date due to time zone issues? ... Max Nikulin <manikulin@gmail.com> - 2023-03-25 04:20 +0100
Re: differences between hwclock <-> date due to time zone issues? ... Albretch Mueller <lbrtchx@gmail.com> - 2023-03-25 04:50 +0100
Re: differences between hwclock <-> date due to time zone issues? ... Max Nikulin <manikulin@gmail.com> - 2023-03-25 06:00 +0100
Re: differences between hwclock <-> date due to time zone issues? ... Max Nikulin <manikulin@gmail.com> - 2023-03-25 09:00 +0100
Re: differences between hwclock <-> date due to time zone issues? ... David Wright <deblis@lionunicorn.co.uk> - 2023-03-25 05:30 +0100
Re: differences between hwclock <-> date due to time zone issues? ... David Wright <deblis@lionunicorn.co.uk> - 2023-03-25 05:30 +0100
Re: differences between hwclock <-> date due to time zone issues? ... Felix Miata <mrmazda@earthlink.net> - 2023-03-25 05:50 +0100
csiph-web