Subj : JS Object save_msg() To : Digital Man From : deon Date : Wed Dec 18 2024 17:14:38 Re: JS Object save_msg() By: Digital Man to deon on Tue Dec 17 2024 09:19 pm Howdy, > > OK, it is UTC in there. > > Is that intentional? No. This is a vanilla, mostly unconfigured, install of Sync (running on my laptop that I use to build my ansitex shell). > Synchronet doesn't figure it out, it just uses the timezone you have > configured in SCFG->System. It figures out the "current time" (from the OS?) to store in the when_imported_time and when_written_time fields though right? I would have thought it would be easy to get the timezone from the OS, to populate the *_zone fields? > timezone don't agree, the Terminal Server logs a warning during startup: > "Configured time zone (x, 0xYYYY, offset: z) does not match system-local > time zone offset: n" > > Are you getting this warning log message? Dont know, hadnt looked. With the other stuff the gets spawed out when starting sync, it doesnt stand out. (I just restarted, and yes its there, but it doesnt look like a "warning" against all the other informational messages.) > You have a mismatch in your configuration. If that's unintentional, then I > guess I could make that warning log message an error instead, to hopefully > insure that sysops are aware of it in the future. If it's intentional, then > I guess I would want to know why and then figure out how to support such a > configuration with fewer surprises. Can you always get the timezone from the OS? Why have a configured timezone at all? If I want to display everything in a timezone, then sure, that makes sense (eg: my host is in a VM in country "X", but I am in country "Y"), but to work out and manipulate dates/times I would have thought you could do that all based on what the OS returns? > Are you messing with your system's timezone configuration or TZ environment > variable? No. Cant imagine a timezone configuration or TZ variable that would still return +11:00/AEDT but be 12 hrs ago (hence why I used the OS's date command in the example output to show what the OS's time was). ....лоеп --- ю Synchronet ю AnsiTEX bringing back videotex but with ANSI * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .