https://gitlab.synchro.net/main/sbbs/-/commit/5434b904c51280f77927fdd7
Modified Files:
ctrl/main.ini src/sbbs3/js_system.c load_cfg.c src/sbbs3/scfg/scfgsys.c src/sbbs3/scfgdefs.h
Removed Files:
web/root/rss.ssjs
Log Message:
Add "Auto" Local Time Zone option and make that the default for new install
As Deon pointed out in DOVE-Net / Synchronet Discussion, having a local time zone configured with a different UTC offset than your system time zone can produce strange/unexpected results (e.g. displayed age of messages). Since
it's possible that not all sysops will complete the configuration wizard or actually set their timezone to the correct value (and ignore the startup warning message), we now make the default Local Time Zone to be
"automatic" - query the OS every time the local time zone is needed/used.
This has the downside of only storing (e.g. in message headers) the UTC
offset of the current time zone (not the time zone abbreviation/name as
encoded by SMB). I considered making an option to dynamically figure out
the actual time zone (not just the UTC offset) and while I think that's
doable, Deon just wanted his UTC offset (e.g. UTC+11:00) and not his
time zone name (e.g. AEDT) stored in message headers, so this setting
would be the behavior he expected/wanted.
I'm using the sentinel time zone value of -1 for this new behavior.
Existing configurations (behavior of existing systems) aren't changed.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net