Subj : Run JS with a different TZ
To   : nelgin
From : Digital Man
Date : Fri Oct 13 2023 10:51 am

 Re: Run JS with a different TZ
 By: nelgin to Digital Man on Fri Oct 13 2023 12:11 pm

>   Re: Run JS with a different TZ
>   By: Digital Man to nelgin on Thu Oct 12 2023 12:03:23
>
>  > How does your script use the timezone currently? Could that usage be
>  > updated to allow you to control the timezone used at run time (e.g. with
>  > a command-line option)?
>
> The only way I can find to get it the script to use a different timezone is
> to set the TZ variable before it is executed, at least while testing with
> jsexec.
>
> Since I will have to call it using ?script.js to make use of the bbs and
> console functions and properties, I'm not exactly sure how that would work.

That didn't really answer my question: How is your script using the timezone currently?
--
                                           digital man (rob)

Synchronet/BBS Terminology Definition #88:
UDP = User Datagram Protocol
Norco, CA WX: 70.1�F, 59.0% humidity, 0 mph SE wind, 0.00 inches rain/24hrs

---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net