View previous topic :: View next topic |
Author |
Message |
Aurora l33t
Joined: 26 Sep 2003 Posts: 658 Location: Classified
|
Posted: Sun Apr 04, 2004 5:02 pm Post subject: EDT: Clock won't change? |
|
|
Is there something special I need to do to keep my system at the correct time here? I just emerged ntp last night, and even that didn't change the clock to account for EDT...
My system is off by exactly one hour. I looked through the timezones directory to see if there's an EDT, and there isn't... I'm pretty sure I've read the solution before, I just can't seem to find it.
Any help on changing my clock would be greatly appreciated! Thanks. _________________ "My downfall raises me to infinite heights." -Napoleon Bonaparte |
|
Back to top |
|
|
kc8tbe Tux's lil' helper
Joined: 12 Aug 2003 Posts: 135 Location: Cleveland, OH USA
|
Posted: Sun Apr 04, 2004 5:15 pm Post subject: |
|
|
Hmmm... perhaps a result of daylight savings time?
Try: "ntpdate time.nist.gov". If you are looking at your clock via KDE, also right click on the clock and reselect Show Timezone > America/New York. |
|
Back to top |
|
|
Suicidal l33t
Joined: 30 Jul 2003 Posts: 959 Location: /dev/null
|
Posted: Sun Apr 04, 2004 5:22 pm Post subject: Re: EDT: Clock won't change? |
|
|
Aurora wrote: |
My system is off by exactly one hour. I looked through the timezones directory to see if there's an EDT, and there isn't... I'm pretty sure I've read the solution before, I just can't seem to find it.
|
Actually ther is an eastern times zone you can set it by
Code: | ln -sf ls /usr/share/zoneinfo/US/Eastern /etc/localtime |
I havent found a nice date program for gnome yet other than the cli.
|
|
Back to top |
|
|
Aurora l33t
Joined: 26 Sep 2003 Posts: 658 Location: Classified
|
Posted: Sun Apr 04, 2004 5:23 pm Post subject: |
|
|
kc8tbe wrote: | Hmmm... perhaps a result of daylight savings time?
Try: "ntpdate time.nist.gov". If you are looking at your clock via KDE, also right click on the clock and reselect Show Timezone > America/New York. |
Thank you for the quick response.
The "ntpdate [some server here]" command kept it at the same time, 1 hour behind my clock.
I use gnome, so I can't set the timezone graphically... _________________ "My downfall raises me to infinite heights." -Napoleon Bonaparte |
|
Back to top |
|
|
Seamaiden n00b
Joined: 02 Apr 2004 Posts: 35 Location: Pine Grove, CA
|
Posted: Sun Apr 04, 2004 7:38 pm Post subject: |
|
|
I've been having issues with my clock since installing Gentoo last week, and I've tried a couple of different symlinks (going from the zoneinfo list). My final try will be PST8PDT, although I would think that setting it to /US/Pacific would have accounted for the daylight savings shift. To the best of my knowledge, the entire US Pacific coast uses daylight savings (not counting Alaska, I'd have tah ask 'er). Hrm. _________________ Youth and Enthusiasm
Are No Match
For Age and Treachery
http://www.wetwebmedia.com |
|
Back to top |
|
|
Cerement Guru
Joined: 14 Jun 2003 Posts: 404
|
Posted: Sun Apr 04, 2004 7:39 pm Post subject: |
|
|
have /etc/localtime pointing to /usr/share/zoneinfo/EST5EDT
(I think EST is just for those that don't go onto daylight savings) |
|
Back to top |
|
|
Peregrine n00b
Joined: 16 Jun 2003 Posts: 67
|
Posted: Sun Apr 04, 2004 7:48 pm Post subject: |
|
|
What is the result if you run the date command? My guess is that it still has you in the normal winter timezone, rather than the equivalent Daylight time. For the Eastern timezone. make sure you are set to EST5EDT - this basically means that the standard zone is EST, that its a 5 hour difference, and you use EDT during Daylight Savings Time. Time syncing wont work as it is technically giving you the right time, its just that your computer isn't handling the timezone right. |
|
Back to top |
|
|
Mnemia Guru
Joined: 17 May 2002 Posts: 476
|
Posted: Mon Apr 05, 2004 12:08 am Post subject: |
|
|
I have had my /etc/localtime linked to EST5EDT for years, and it has worked in the past for changing the clock automatically for daylight savings time. But for some reason this time it didn't work. Now my time is an hour off and NTP isn't changing it. As far as I know, my clock is set correctly but for some reason the time zone display is malfunctioning for daylight savings time.
Anyone else have trouble even with your computer set to EST5EDT?
EDIT: I just checked the date command, and my computer does in fact know that it has switched over to EDT, because it now says EDT instead of EST. The time just didn't change, weird. I wonder if my local NTP server is keeping incorrect time... |
|
Back to top |
|
|
felixz n00b
Joined: 30 Nov 2003 Posts: 24
|
Posted: Tue Apr 06, 2004 12:11 am Post subject: |
|
|
I just setup ntp and I had the same thing.
My time was an hour late.
I did have /etc/localtime pointing to EST so I changed it to point to EST5EDT and now the date command indeed returns the right time.
I dont know and anyone please correct me if i am wrong but ntp probably retrives the gmt time (as in unix timestamp , its same everywhere in the world) anyway and its up to local system to make the adjustments. _________________ http://www.zaslavskiy.net/
felix[at]bebinary.com |
|
Back to top |
|
|
|