src/xpdev xpdatetime.c 1.11 1.12
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/home/sbbs/src/xpdev
Modified Files:
xpdatetime.c
Log Message:
Bug-fix: xpTimeZone_local() returned the UTC-offset as they daylight saving time was in effect, year-round, on Linux.
Use the localtime() tm_gmtoff method of detecting the local time zone offset
on Linux, don't rely on the global variables 'timezone' and 'daylight'
behaving as they did in Borland C/DOS. From the Linux man page:
Note that the variable daylight does not indicate that daylight saving
time applies right now.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ
telnet://vert.synchro.net