Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Ubuntu 13.10 clock problems
- Date: Thu, 31 Oct 2013 07:10:51 +0100
- From: Bruno Raoult <braoult@example.com>
- Subject: Re: [tlug] Ubuntu 13.10 clock problems
- References: <20131025030341.GA20719@scott1.scottro.net> <526FA5B8.3040702@l.u-tokyo.ac.jp> <CAAhy3dv__6jUcFg2ik_M=eWY=OwVv5Z9qMc39JhCnmH_nF-UFg@mail.gmail.com> <527076B2.7000306@l.u-tokyo.ac.jp> <CAJA1Y2bOaFb=W_yUb0G3A5TD5=a7w7Aaso_QDYntvq84=WfeYg@mail.gmail.com> <CAL-VO6LTik9mjYCmyuW61erW3L5Gft5=-0o-Z8jHinOES3abTg@mail.gmail.com> <CAJA1Y2bFQqA8FfqVh3MSJL73TyJCUkHTP3Q6-6DS_H+qvkwMzw@mail.gmail.com> <87vc0erq7v.fsf@uwakimon.sk.tsukuba.ac.jp>
On Thu, Oct 31, 2013 at 5:58 AM, Stephen J. Turnbull <stephen@example.com> wrote:
Bruno Raoult writes:
> As I live in France, where there is DST change, localtime is
> absolutely a no-go.So there's really no problem here. DST is irrelevant. By the time
boot has proceeded far enough to worry about these issues, the
timezone library is available. It will handle DST and such blips
(leap seconds, anyone?) based on the (integer) number of seconds since
the appropriate epoch. (Note that in the U.S., where the practice of
localtime clocks originated, there were no times zones observing DST
on January 1, 1970, so there aren't any blips in the 24 hours that
matter, and there never will be.)You missed my point: The *huge* difference between using a localtime and UTCHW clock is that in case of DST change you have to *change* the HW clock
twice a year (either by +1 or -1 hour). And you have no way to know if it has beendone or not.Example: Next night, at 3:00. it will be 2:00.
My computer goes to 3:00, changes the HW clock to 2:00.Then I just reboot. It will get the time from the clock, let say 2:01 (let's dream :-)So it will go again to the 3:00 and do again the job. We are one hour off.This is the difference.Would the CMOS clock not reflect the localtime, we would not have the issue.
So yes, UTC is very different, as it follows what you say: A number of <units>since the epoch.In case of a DST country, with the HW clock giving the localtime, this is no more valid,
as half of the year the clock will give a number of <units> equivalent to 1 hour ahead of the epoch.Bruno.PS. What I mean by "changing the clock" is: when you reboot, go to the BIOS, it showsreally the local time. If you reboot in my case at 2:29, the BIOS will show 2:30.1 hour later, you reboot at 2:29, the BIOS will show 2:30.--
2 + 2 = 5, for very large values of 2.
- Follow-Ups:
- Re: [tlug] Ubuntu 13.10 clock problems
- From: Stephen J. Turnbull
- References:
- [tlug] Ibus and Ubuntu based
- From: Scott Robbins
- Re: [tlug] Ubuntu 13.10 clock problems (was: Ibus and Ubuntu based)
- From: Charles Muller
- Re: [tlug] Ubuntu 13.10 clock problems (was: Ibus and Ubuntu based)
- From: Raymond Wan
- Re: [tlug] Ubuntu 13.10 clock problems
- From: Charles Muller
- Re: [tlug] Ubuntu 13.10 clock problems
- From: Bruno Raoult
- Re: [tlug] Ubuntu 13.10 clock problems
- From: Benjamin Tayehanpour
- Re: [tlug] Ubuntu 13.10 clock problems
- From: Bruno Raoult
- Re: [tlug] Ubuntu 13.10 clock problems
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Ubuntu 13.10 clock problems (was: Ibus and Ubuntu based)
- Next by Date: Re: [tlug] Ubuntu 13.10 clock problems (was: Ibus and Ubuntu based)
- Previous by thread: Re: [tlug] Ubuntu 13.10 clock problems
- Next by thread: Re: [tlug] Ubuntu 13.10 clock problems
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links