[8246] in Athena Bugs

home help back first fref pref prev next nref lref last post

rt 7.3N: emacs's display-time fails to use TZ

daemon@ATHENA.MIT.EDU (John T Kohl)
Sat Sep 21 02:36:20 1991

Date: Sat, 21 Sep 91 02:36:52 -0400
From: John T Kohl <jtkohl@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU

System name:		soup
Type and version:	RTPC-ROMPC 7.3N
Display type:		apa16

What were you trying to do?
	Have the emacs mode-line time-of-day reflect a timezone other
than EST5EDT.

What's wrong:
	When I 'setenv TZ PST8PDT', most programs (such as /bin/date and
/bin/ls and discuss) display the times in Pacific time.  The time
displayed in the emacs mode line (via (display-time)) is still in
Eastern time.  This is true with display-time-24hr-format both t and
nil.

What should have happened:
	The time should show up based on the Pacific time zone.

Please describe any relevant documentation references:
	ctime(3)/tzset(3)

home help back first fref pref prev next nref lref last post