Some of my machines (CentOS, RedHat) time went an hour ahead a few days back. This seems to be related to daylight savings.
Current workaround is to set timezone to Tashkent. What is the way to fix this problem at source?
Daylight saving problem
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re: Daylight saving problem
Dear Asher,
You can check your system date and time after renaming /etc/localtime to different file.
# date
# hwclock
# cp /usr/share/zoneinfo/Asia/Karachi /etc/localtime
# date 042023592012
# hwclock --systohc
Reboot your system and check date and hardware date using these commands.
# date
# hwclock
Best Regards.
You can check your system date and time after renaming /etc/localtime to different file.
# date
# hwclock
# cp /usr/share/zoneinfo/Asia/Karachi /etc/localtime
# date 042023592012
# hwclock --systohc
Reboot your system and check date and hardware date using these commands.
# date
# hwclock
Best Regards.
Farrukh Ahmed
Re: Daylight saving problem
Thanks
it looks like some applications use /usr/share/zoneinfo/right/Asia/Karachi
and there is another file in /usr/share/zoneinfo/posix/Asia/Karachi
which should also be fixed for completeness.
it looks like some applications use /usr/share/zoneinfo/right/Asia/Karachi
and there is another file in /usr/share/zoneinfo/posix/Asia/Karachi
which should also be fixed for completeness.