OS/2, eCS & ArcaOS - Technical > Utilities
ArcaOS Time Sync Problems
Dave Yeo:
--- Quote from: Martin Iturbide on November 24, 2023, 10:32:29 pm ---Hello
I'm testing the issue. I'm trying to remember what happen on the ArcaOS 5.1 installation. Maybe I installed with a different time zone and after trying to fix it with "Clock Sync", it did not work.
I followed Dave's advice and put "SET TZ=GST5GST". On the next reboot my clock was fine and "Clock Sync" no longer gave me this error.
Do you think this is a bug with "Clock Sync" that is putting only SET TZ=GST5 on my config.sys when it should put "SET TZ=GST5GST" ?
Regards
--- End quote ---
Looking at the Posix standard, it seems that GST5 or perhaps GST+5 should work. Looking at our headers, settz() etc is on the todo list while it is implemented in EMX which the EMX C Library Reference also says only the TZ1 (GMT5 in your case) part is mandatory. So it does seem like a bug that Clock Sync was not happy with GMT5, perhaps try GMT+5.
Martin Iturbide:
--- Quote from: ivan on November 24, 2023, 11:21:12 pm ---Hi Martin,
As far as I remember 'Clock Sync' assumes you have the correct 'SET TZ= ' in the config.sys, it does not put it there (see set tz in the command reference) and it does need the second version you show. Just think yourself lucky you don't have something like I need -
SET TZ=CET-1CDT,3,-1,0,7200,10,-1,0,10800,3600
--- End quote ---
Hi Ivan
On my case, if I don't have a SET TZ= on my config.sys, "Clock Sync" will suggest me to add my local time zone on the config.sys.
It just put on the config.sys "SET TZ=GST5"
Regards
ivan:
Hi Martin,
It would be nice to see the full screen of the 'Clock Synchronization' display, but my feeling is that it needs a full 'SET TZ' statement in config.sys to be of any use otherwise how does it know what to look for to synchronise with.
Navigation
[0] Message Index
[*] Previous page
Go to full version