🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #24102

Re: Clock widget for different timezones

#24102
From: Paul Boutin
Date: Wed, 26 Jun 1991 07:50
24 lines
1770 bytes
In article <8488@auspex.auspex.com>, guy@auspex.auspex.com (Guy Harris) writes:
|> 
|> Even less hackery should suffice on modern UNIX systems that understand
|> the TZ environment variable (4.3-tahoe and later, SunOS 4.0 and later,
|> S5-based systems, etc.) - just run "xclock", or whatever, with TZ set to
|> the appropriate time zone.  (How well it deals with daylight savings
|> time, of course, depends on how well the code that handles TZ deals with
|> it; systems with the Arthur Olson time zone code, such as 4.3-tahoe and
|> later, SunOS 4.0 and later, System V Release 4, and others, handle it
|> quite well.)

Guy, I suspect that you are an accomplished Unix programmer, given your use 
of the adverb "just" in the above sentence :-).  I much prefer a straight
offset from current local time, although I opted for specifying minutes instead 
of hours, so I can make up for skewed system times and also set my desk xclock
ten minutes fast on meeting days.  TZ is useful, but try to figure out that it
even exists, let alone how to specify it, if you're a new or infrequent user...

-- 
Paul Boutin					Network Computing Devices
1000 Escalon Ave #3116				350 North Bernardo Ave	
Sunnyvale CA 94086				Mountain View CA 94043
408 738 8463					415 691 2115
		boutin@ncd.com		boutin@mit.edu
Technical Details
Message-ID: <6149@lupine.NCD.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!lupine!hansen!boutin
References: <9129@gollum.twg.com> <8488@auspex.auspex.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!lupine!hansen!boutin
From: boutin@hansen.ncd.com (Paul Boutin)
Newsgroups: comp.windows.x
Subject: Re: Clock widget for different timezones
Message-ID: <6149@lupine.NCD.COM>
Date: 26 Jun 91 07:50:51 GMT
References: <9129@gollum.twg.com> <8488@auspex.auspex.com>
Sender: news@NCD.COM
Reply-To: boutin@hansen.ncd.com (Paul Boutin)
Organization: Network Computing Devices
Lines: 24