[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: daylight savings time



Cheryl Homiak <chomiak@chartermi.net> writes:

> My clock has allways automatically done this change, but not this
> year! I wonder why.

Under Linux/Unix, the clock doesn't change; it's always set to Greenwich
Mean Time. The value of your TZ environment variable determines how
software interprets that time. If TZ is set appropriately, then when DST
begins, your software will start interpreting the time as daylight
savings, and it will appear that your clock has changed. However, it
hasn't changed; just the external representation has changed.

In general, TZ should get set correctly if the /etc/localtime file
contains the correct timezone info file. You can copy a file from
/usr/share/zoneinfo to /etc/localtime, or use the tzconfig program,
which does essentially the same thing.

-- 
Dave Carrigan (dave@rudedog.org)            | Yow! I once decorated my
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | apartment entirely in ten foot
Seattle, WA, USA                            | salad forks!!
http://www.rudedog.org/                     | 


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: