Subj : JS Object save_msg()
To : Digital Man
From : deon
Date : Wed Dec 18 2024 03:42 pm
Re: JS Object save_msg()
By: Digital Man to deon on Tue Dec 17 2024 05:36 pm
Howdy,
> What do you have set in SCFG->System->Local Time Zone? This is the default
> time zone information used by MsgBase.save_msg() and stored in the message
> header (if not otherwise specified in the message header object).
>
> It should be storing whatever you have configured in SCFG->System->Local
> Time Zone.
OK, it is UTC in there.
So this just is confusing, and IMHO messed up. I must have the wrong impression of Syncs timezone handling.
If you dont supply a datetime stamp (via any of the header save attributes that have a date/time), and Sync "figures it out" why cant it figure out the timezone of that time it gets as well?
Sync obviously knows the time zone - given that it displayed that message, that it saved 3s earlier with a "UTC" timezone as "11 hrs from now". Its not using that System->Local->Time Zone when displaying the message?
I think it can be improved, but if I'm wrong, I'd like to understand why my
thinking is wrong...
Oh, and there *is* a problem with strftime(), but it may not be SBBS related.