TIP: Click on subject to list as thread! ANSI
echo: linux
to: MARK LEWIS
from: WILFRED VAN VELZEN
date: 2015-10-07 08:53:00
subject: Re: it is still wrong eve

Hi mark,

On 2015-10-06 20:33:18, you wrote to me:

 WV>>>> Your almost right. It advertises -0500 but because of DST it should
 WV>>>> be -0400. ;)

 ml>>> that happens because in all cases i'm aware of, the operator has to
 ml>>> flip the switch... my main system uses an environment variable for
 ml>>> this information... i wrote a tool which automatically adjusts the
 ml>>> value in the environment variable when DST turns on and off... some
 ml>>> systems require a reboot for the change to take effect because of
 ml>>> where the information is stored in environment variables and whether
 ml>>> they can be changed from a shell or not... if i had to guess, i'd
 ml>>> guess that janis simply forgot to adjust when the switch took place
 ml>>> last time...

 WV>> On linux it's certainly automatic, and Janis uses linux...

 ml> really? linux creates and maintains the TZUTC environment variable??
that's
 ml> quite some news to me and many others!

(You might mean the TZ env var?)

But you don't need it. Basically you can ask the OS what the localtime is and
what the gmtime is. The difference is what you need for the TZUTC kludge. At
least that is what Golded does. I haven't set it on either my windows or linux
setup, yet the TZUTC is calculated perfectly!

Bye, Wilfred.

--- FMail-W32-1.69.10.141-B20151003
* Origin: FMail development HQ (2:280/464)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.