Tcl Source Code

View Ticket
Login
Ticket UUID: 4af4d24baaae6b77c88dfbe0ce2dde201cd17daa
Title: Timezone setting fails for non-DST TZs under Windows
Type: Bug Version:
Submitter: cmcc Created on: 2014-03-05 02:07:57
Subsystem: 06. Time Measurement Assigned To: kbk
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2014-03-18 11:17:19
Resolution: None Closed By: nobody
    Closed on:
Description:
Under Windows in some timezones (those which do not have Daylight Savings Time,) clock.tcl's [GuessWindowsTimeZone] fails, because it does not expect to find the StandardStart and DaylightStart registry values to be empty.  This results in a fallback to :localtime timezone when the registry has actually supplied all the information necessary to discover the TZ.

Perversely, Windows reports DaylightBias of -60, even though it can never be used.

The observed values reported by Windows are: Bias -420 StandardBias 0 DaylightBias -60 StandardStart "" DaylightStart ""