Re: HWCLOCK,LOCALTIME,UTC how to fix wrong time.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/04/2012 02:47 PM, luis redondo wrote:
I got that Fedora16 and OpenSUSE present wrong system time because they
are the only systems I run that have WRONG UTC.
For example: My correct system time is 21:20:04 and when I do on
Fedora(OpenSUSE) :
hwclock ; date ; date --utc I got

8:20:04 PM WEST
20:20:04 WEST 2012
19:20:04 UTC 2012

Then UTC is 2 hours before my right daylight savings time AND IT SHOULD
BE ONLY 1 HOUR.
On Ubuntu,Debian which present right system hour with daylight savings
the UTC is 1 HOUR BEFORE
20:20:04 UTC 2012(which is correct with the real world).

The numbers look right for the WEST time zone (western Europe savings time), which is defined as "+0100".

"hwclock" always reports in local time, regardless if your hardware
clock is set to UTC or not (read the man page if you don't believe me).
You need to look at /etc/sysconfig/clock to see how your hardware clock
is set. If "UTC" is "true", then your hardware clock is using UTC.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-          When all else fails, try reading the instructions.        -
----------------------------------------------------------------------
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux