🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #23985

Re: Clock widget for different timezones

#23985
From: David S. Herron
Date: Mon, 24 Jun 1991 07:15
27 lines
1486 bytes
In article <8488@auspex.auspex.com> guy@auspex.auspex.com (Guy Harris) writes:
>>A customer wants to have a row of clocks showing different timezones.
>>Unfortunately the clock widget doesn't handle that case very well.
>>But a little simple hackery should suffice.
>
>Even less hackery should suffice on modern UNIX systems that understand

Hey.. I'm not dumb!  Even I know about the TZ environment variable.

However the requirements were to have multiple clocks for various
time zones all in the same window.  Therefore all the widgets would
be in the same process & be subject to the same TZ variable.  Somebody
mentioned a program: 'xchron' which does pretty much what the
effect of my patches was.

BTW.. I feel that the clock widget definitely *should* have
a resource setting for which time zone to display.  After all
the code doesn't always run on Unix so the TZ variable isn't
always available.

	David

-- 
<- David Herron, an MMDF & WIN/MHS guy, <david@twg.com>
<-
<-
<- "MS-DOS? Where we're going we don't need MS-DOS." --Back To The Future
Technical Details
Message-ID: <9151@gollum.twg.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!twg.com!david
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!zaphod.mps.ohio-state.edu!mips!twg.com!david
From: david@twg.com (David S. Herron)
Newsgroups: comp.windows.x
Subject: Re: Clock widget for different timezones
Message-ID: <9151@gollum.twg.com>
Date: 24 Jun 91 07:15:47 GMT
References: <9129@gollum.twg.com> <8488@auspex.auspex.com>
Organization: The Wollongong Group, Palo Alto, CA
Lines: 27