[Bug 911] Configuring the setclock Script: "hwclock --show" always shows localtime

bugzilla at linuxfromscratch.org bugzilla at linuxfromscratch.org
Thu Sep 30 18:46:46 PDT 2004


http://bugs.linuxfromscratch.org/show_bug.cgi?id=911





------- Additional Comments From lizardo at linuxfromscratch.org  2004-09-30 19:46 -------
I think I just found why: 
 
hwclock seems to react differently if the TZ env variable is set or not. Try 
these commands instead: 
 
TZ=Canada/Mountain hwclock --localtime --show 
TZ=Canada/Mountain hwclock --show 
 
(guessing your timezone here.) 
 
Anyway, "hwclock --localtime --show" seems to show the correct "BIOS time" 
don't matter TZ is set or not. 
 
Matthew, can you confirm the system you tested had TZ set? 



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.



More information about the lfs-book mailing list