[Top][All Lists]

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

[Help-emacs-windows] Daylight savings time

From: Steve McKinney
Subject: [Help-emacs-windows] Daylight savings time
Date: Mon, 2 Apr 2001 15:39:21 -0700

I use
to show time in the mode line.
With the recent switch to daylight savings time,
the time in the mode line is one hour off.

I'm using Emacs 20.7 compiled for NT5.0
(GNU Emacs 20.7.1 (i386-*-nt5.0.2195) of Tue Jun 13 2000)
on a Windows 2000 (NT5.0) PC

The Windows time handler (and many Microsoft apps)
unfortunately have "Automatically adjust for
Daylight Savings Time" so it is too much work
to find and change that option in a bunch of other

Has anyone set up emacs to automatically adjust
for daylight savings time?

I tried setting all the following variables in my
_emacs file, but the time is still one hour behind.

;;;Try to set daylight savings time ;;;Does not work - Apr 2, 2001
(setq calendar-daylight-savings-starts (list 4 1 2001))
(setq calendar-daylight-savings-ends (list 10 28 2001))
(setq calendar-daylight-time-offset 60)
(setq calendar-daylight-savings-starts-time 120)
(setq calendar-daylight-savings-ends-time 120)
(setq calendar-standard-time-zone-name "PST")
(setq calendar-daylight-time-zone-name "PDT")
(setq calendar-time-zone -480)

Any information appreciated!

Steven McKinney
Consulting Services
Insightful Corporation
address@hidden <mailto:address@hidden>
tel: (800) 569-0123 x349
tel: (206) 283-8802 x349
fax: (206) 283-8691
Insightful Corporation
1700 Westlake Avenue North, Suite 500
Seattle, Washington 98109-3044 USA

Formerly known as MathSoft, Insightful Corporation
provides analytical solutions leveraging S-PLUS,
StatServer, S-PLUS Analytic Server and consulting services.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]