01micko wrote: Wed Jun 02, 2021 9:12 pm
Timezone and Psync
This 'bug' was fixed ages ago but reintroduced somehow. The crux is that the the timezones in /usr/share/zoneinfo/Etc are listed with '-' when they're actually '+'.
Thanks for looking into this. I have long had the feeling that there are a couple of bugs here that may have tangled troubleshooting efforts in the past.
The last mainstream puppy that correctly responded to choice of "GMT+12 Wellington, Fiji" was Slacko 5.6
In most other pups (including Slacko 8.2.1) it is necessary for me to select "GMT-12 Eniwetok" in order for my browser to be happy.
When it is unhappy the error message is
"Invalid access_token, it appears to be corrupted, iat parameter not within +1h of now. This is most likely because the clock on your computer/device is wrong. Please check the time on your device to see if it needs updating."
(Choice of "Pacific, Auckland" runs fine because it selects NZST - but that should be a match for "GMT+12Wellington,Fiji")
In some pups (eg Tahr32) i can get away with swapping the names of GMT+12 and GMT-12 in Etc - but this is not working in Slacko 8.2.1 or Bionic64 (maybe someone added a different work around)
*****
EDIT : I just read here that firefox and chrome handle timezones differently:
Chrome seems to update its TimeZone as soon as you change it in Windows. Firefox seems to store the timezone value of the system at startup.
Dont know if this impacts Linux.
*****
I don't have any confidence that the current Etc GMT files are kosher. I would have expected renaming to change the symptom as it does in 32bit pups. Do the Etc GMT files get pulled from current Slackware or are the puppy versions archived and re-used?
Second problem is that I would expect the tray clock popup value (eg +12 or -12) to match the timezone choice from quicksetup, but in most pups it does not.
I have tried to look through the pclock coding to work out how the popup decides what value to put there - but there are so many complex files involved including all the coding for different window managers that i am just lost. Maybe that popup somehow pulls it's info from inside the Etc GMT file that localtime points to. Dont know.
@amethyst - I have tried UTC but it does not help me. I have made sure that my RTC clock is set to my current NZ time (no summertime adjustments ) and I feel that should allow consistent results. I feel that Pacific,AucklandNZST should behave exactly the same as GMT+12 even if Greenwich is on summertime ('cause there is an hours leeway i think).
Maybe GMT should be swapped for Kampala time - I assume that Uganda straddling the equator should mean there are no summer/winter adjustments 
EDIT2 : I just read that GMT does not have a summertime and never changes. Britain moves to BST for part of the year but GMT remains fixed. In which case i dont know why i have so much trouble with setting timezone relative to GMT.