Hi Bert -
Looks like we're in violent agreement (Brad's note attached). I checked in the fix for the Windows VM and here is the code that we use in the Unix locale plugin:
sqInt sqLocGetVMOffsetToUTC(void) { return 0; }
sqInt sqLocGetTimezoneOffset(void) { struct tm * timeBlock; time_t theTime; theTime = time((time_t)NULL); timeBlock = localtime(&theTime); return timeBlock->tm_gmtoff / 60; }
sqInt sqLocDaylightSavings(void) { struct tm * timeBlock; time_t theTime; theTime = time((time_t)NULL); timeBlock = localtime(&theTime); return timeBlock->tm_isdst; }
Cheers, - Andreas