TIP: Click on subject to list as thread! ANSI
echo: bbbs.english
to: Jeff Smith
from: Alan Ianson
date: 2019-05-17 12:24:32
subject: TZ or TZUTC environment variable

> Hello Alan.

>> BBBS seems to get the time right ok in Pacific Standard Time. It's when we
>> spring ahead it doesn't change to Pacific Daylight Time. The computers clock
>>does change but the TZUTC: kludge doesn't. I have found here that setting the
>> TZ and TZUTC environments is needed, at least in PDT. In my case I set
>> TZ=PDT+7 and TZUTC=-0700 and now my TZUTC kludg is correct.

>Maybe as a temp workaround in the script file that starts BBBSD you could do a
>date check.

Yep, I haven't permantly set the environment yet so I guess I should find a way
 to do that.

> And when the Daylight Saving dates are reached then the TZ and the TZUTC
> variables could be changed as necessary. For me I would do it via a Bash
> script.

Your TZUTC kludge is also off by an hour so it may be a problem for all BBBS
users.

I think setting TZ=CDT+5 and TZUTC=-0500 would work for you.

--- BBBS/Li6 v4.10 Toy-4
* Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
SEEN-BY: 57/0 153/250 220/70 226/100 267/800 280/464 317/2 393/68 633/267
SEEN-BY: 640/1384 712/620 848 770/0 1 10 100 330 340 772/0 1 500
@PATH: 153/757 250 770/1 712/848 633/267

SOURCE: echomail via fidonet.ozzmosis.com

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™.