Fedora Linux Support Community & Resources Center
  #1  
Old 5th January 2006, 11:22 PM
rolandpish Offline
Registered User
 
Join Date: Nov 2005
Posts: 66
Can't set my TimeZone in FC4

Hi everybody.
I've been trying to set my local time zone in FC4 but it always keeps UTC as local time zone.
I'll tell you what I'm doing (I don't know if I'm doing something wrong):
I log as root.
Then I right-click clock and choose adjust date and time
In the Time Zone combo box I choose America Costa_Rica, when I click Apply the local time zone changes to CST, ok, for now, it goes perfect. When I click OK and I try to adjust date and time again (just to check if it saved my options) it keeps America Costa_Rica as the time zone, but the local time zone changes automatically to UTC.
What is the problem with this?
The problem is that I use evolution to send and receive e-mails, and it uses the UTC as the default time zone, so, every mail is sent and received with the UTC time zone, therefore, the time is totally incorrect. I tried with Thunderbird but the same thing happens.

How can I set my time zone to CST and America Costa_Rica? Is there another way to do it?

Thanks in advance
Reply With Quote
  #2  
Old 6th January 2006, 02:07 AM
homey Offline
Registered User
 
Join Date: Feb 2005
Posts: 415
Quote:
Is there another way to do it?
Yes, in Linux there are about ten ways to do anything.

Here are some command line tools for setting date and time
zdump
tzconfig
timeconfig
export TZ="US/Eastern"

You can find the zone in /usr/share/zoneinfo.

For example:
Code:
run the command:
zdump America/Costa_Rica

Then, make sure the /etc/sysconfig/clock looks right....
ZONE="America/Costa_Rica"
UTC=false
ARC=false

Then, link it...
rm -rf /etc/localtime
ln -sf /usr/share/zoneinfo/America/Costa_Rica /etc/localtime

Finally, grab the correct time from the atomic clock.
#Note: if your time was way off, the screen may blank for abit.
su - -c "ntpdate ntp.nasa.gov ; hwclock --systohc"
Reply With Quote
  #3  
Old 6th January 2006, 06:20 PM
rolandpish Offline
Registered User
 
Join Date: Nov 2005
Posts: 66
Thanks a lot homey! I really appreciate your help!
Everything works fine now.

Regards
Reply With Quote
  #4  
Old 6th January 2006, 06:40 PM
homey Offline
Registered User
 
Join Date: Feb 2005
Posts: 415
You'r welcome, glad to help!
Reply With Quote
  #5  
Old 6th January 2006, 09:47 PM
brunson Offline
Registered User
 
Join Date: Jun 2005
Location: Westminster, Colorado
Posts: 2,306
Quote:
Then, link it...
rm -rf /etc/localtime
ln -sf /usr/share/zoneinfo/America/Costa_Rica /etc/localtime
Or: "zic -l America/Costa_Rica"
Reply With Quote
  #6  
Old 9th January 2006, 04:59 PM
rolandpish Offline
Registered User
 
Join Date: Nov 2005
Posts: 66
Thanks for your tip brunson.
Reply With Quote
Reply

Tags
fc4, set, timezone

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change timezone from BST to UTC. lynxus Using Fedora 3 16th September 2009 01:48 PM
Timestamp timezone? pdb Suggestions & Feedback 2 23rd December 2006 09:40 PM
UTC Default timezone gordini2003 Using Fedora 3 15th November 2005 10:18 AM


Current GMT-time: 08:45 (Tuesday, 21-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Wielun Photos on Instagram - Temse Photos on Instagram - Amarnath Instagram Photos