Skip to content
  • sbbs's avatar
    Bug-fix: xpTimeZone_local() returned the UTC-offset as they daylight saving · 1d43b963
    sbbs authored
    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.
    1d43b963