Article View: comp.os.linux.development.system
Article #14Re: A whacky DATE bug in Linux - Problem gets crazier!
From: Paul Taylor
Date: Mon, 05 Oct 1998 00:00
Date: Mon, 05 Oct 1998 00:00
23 lines
2478 bytes
2478 bytes
Wolfgang Bornath wrote:
> [snip]
> What do I have here? I have my BIOS on local time (which is Central European
> Summer Time). During installation of Linux (SuSE 5.3, 2.0.35) I told the system
> that I am in TZ Berlin/Europe and that my BIOS is showing local time.
>
> Now with [date] I get the local time.
> With [date -u] I get UTC time which is 2 hours behind.
> With [hwclock --show] I get local time.
> With [hwclock --utc --show] I get UTC time which is... WHAT NOW?
>
> As you can see above UTC is with date 2 hours behind and with hwclock 2 hours
> ahead.
"hwclock --utc" is incorrect. My timezone is UTC+10; "date", "date -u" and
"hwclock" show the expected times, but "hwclock --utc" shows the time as
10 hours ahead of local instead of 10 hours behind. Presumably the program
was written by someone in the USA who thought that UTC is always ahead of
local time.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Paul Taylor Veni, vidi, tici -
birder@ozemail.com.au I came, I saw, I ticked.
Technical Details
Message-ID:
<36187FCD.774B379C@ozemail.com.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3601D4F7.247C8BC2@usq.edu.au> <3607ABBA.1952C377@uq.net.au> <36087C67.3313582C@usq.edu.au> <360E42BB.CF1DF123@uq.net.au> <907566662.768516518@news.frankfurt.netsurf.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5392,12de531511895886 X-Google-Attributes: gidf5392,public X-Google-Thread: 10c696,12de531511895886 X-Google-Attributes: gid10c696,public X-Google-Thread: f9382,12de531511895886 X-Google-Attributes: gidf9382,public X-Google-Thread: f9b51,12de531511895886 X-Google-Attributes: gidf9b51,public X-Google-Thread: ff9be,12de531511895886 X-Google-Attributes: gidff9be,public X-Google-Thread: faa64,12de531511895886 X-Google-Attributes: gidfaa64,public X-Google-Thread: 102983,12de531511895886 X-Google-Attributes: gid102983,public X-Google-Thread: 100c5f,12de531511895886 X-Google-Attributes: gid100c5f,public From: Paul Taylor <birder@ozemail.com.au> Subject: Re: A whacky DATE bug in Linux - Problem gets crazier! Date: 1998/10/05 Message-ID: <36187FCD.774B379C@ozemail.com.au> X-Deja-AN: 397839371 Content-Transfer-Encoding: 7bit References: <3601D4F7.247C8BC2@usq.edu.au> <3607ABBA.1952C377@uq.net.au> <36087C67.3313582C@usq.edu.au> <360E42BB.CF1DF123@uq.net.au> <907566662.768516518@news.frankfurt.netsurf.de> Content-Type: text/plain; charset=us-ascii Organization: OzEmail Ltd. Mime-Version: 1.0 Newsgroups: comp.os.linux.development.system,comp.os.linux.development.apps,comp.os.linux.setup,alt.linux,alt.os.linux,comp.os.linux,comp.os.linux.questions,aus.computers.linux