You are not logged in.
Pages: 1
I've been trying to set the correct time on my machine for a while now, but Arch still keeps saying that I'm in CET. I've gone into /etc/rc.conf and edited the correct strings. Currently, I've got it set to UTC, and the timezone is America/Los_Angeles. I've tried UTC and US/Pacific, UTC and US/Pacific-New, as well as localtime. Any ideas on what is keeping it from correctly setting the time?
Offline
Welcome to the forums.
Try adding
TZ='America/Los_Angeles'; export TZ
in /etc/profile. Then run
source /etc/profile
Last edited by skottish (2008-03-02 20:21:41)
Offline
I ran it. Do I need to reboot in order for it to take effect?
Offline
I ran it. Do I need to reboot in order for it to take effect?
I was hoping that running 'source /etc/profile' would do the trick. If not, rebooting should.
Offline
Just rebooted. Still no change. :\ It says it's 8:30PM tonight, but it's only 12:30PM right now.
Offline
8 hours is the difference between UTC and PST. If you have the BIOS clock set to your local time then the entries in /etc/rc.conf ought to be:
HARDWARECLOCK="localtime"
TIMEZONE="America/Los_Angeles"
Only set HARDWARECLOCK to UTC if the BIOS clock is set to UTC.
Offline
That's the thing though. If I go into my BIOS, it's currently set to UTC. So then HARDWARECLOCK should be UTC, but for some reason it's not setting the right timezone.
Offline
try running ntpd?
Offline
openntpd is much easier to set up. It may take a few log ins to get fully synced.
Offline
I use openntpd too. In the meantime, just out of curiosity, I set my rc.conf to UTC (same as GMT, which is my local timezone anyway) and America/Los_Angeles, rebooted and found that it was suddenly much earlier in the day...
Offline
try running these as root:
date MMDDhhmmCCYY
hwclock --utc --systohc
hwclock --show
Offline
Nope it's still not working. All of these different things that I'm trying should at least change the time to a different number, but it's not changing at all. It keeps only using the UTC time, almost like it's not loading the timezone.
Offline
Are you using KDE or some other DE that lets you independently set a different timezone for a session?
Offline
I'm using Openbox, but I'm using the time Conky is displaying.
Offline
I'm using Openbox, but I'm using the time Conky is displaying.
That uses your system time (either localtime or UTC).
flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)
Offline
Pages: 1