View previous topic :: View next topic |
Author |
Message |
sanrou n00b

Joined: 10 May 2004 Posts: 31
|
Posted: Wed Nov 07, 2007 4:15 pm Post subject: How to set my timezone to CST? |
|
|
My /etc/timezone file contains:
America/Chicago
and here is my /etc/conf.d/clock :
CLOCK="local"
TIMEZONE="America/Chicago"
CLOCK_OPTS=""
CLOCK_SYSTOHC="no"
SRM="no"
ARC="no"
but my date still shows:
Wed Nov 7 10:12:41 GMT 2007
How do I change it to CST time?
Thanks,
BTW, it is a dual boot system, but I boot to windows just a couple of times a year. |
|
Back to top |
|
 |
eccerr0r Watchman

Joined: 01 Jul 2004 Posts: 9994 Location: almost Mile High in the USA
|
Posted: Wed Nov 07, 2007 4:29 pm Post subject: |
|
|
Usually the default timezone is specified by the file /etc/localtime. You'll need to link or copy one of the timezone files in /usr/share/zoneinfo files to /etc/localtime, say /usr/share/zoneinfo/CST6CDT or America/Chicago ...
Not sure how to make that clock conf.d file automatically make the link though... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
 |
sanrou n00b

Joined: 10 May 2004 Posts: 31
|
Posted: Wed Nov 07, 2007 4:36 pm Post subject: |
|
|
eccerr0r wrote: | Usually the default timezone is specified by the file /etc/localtime. You'll need to link or copy one of the timezone files in /usr/share/zoneinfo files to /etc/localtime, say /usr/share/zoneinfo/CST6CDT or America/Chicago ...
Not sure how to make that clock conf.d file automatically make the link though... |
Yup, just did:
cp /usr/share/zoneinfo/US/Central /ect/localtime
and that worked out!
Thanks, |
|
Back to top |
|
 |
|