Diff
Not logged in

Differences From Artifact [cf47707215]:

To Artifact [22ed966e3e]:


905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
proc ::tcl::clock::GetSystemTimeZone {} {
    variable TimeZoneBad

    if {[info exist ::env(TCL_TZ)]} {
	set timezone $::env(TCL_TZ)
    } elseif {[info exist ::env(TZ)]} {
	set timezone $::env(TZ)
    } elseif {![info exists timezone]} {
        # ask engine for the cached timezone:
        set timezone [configure -system-tz]
        if { $timezone ne "" } {
            return $timezone
        }
	if { $::tcl_platform(platform) eq {windows} } {
	    set timezone [GuessWindowsTimeZone]







|







905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
proc ::tcl::clock::GetSystemTimeZone {} {
    variable TimeZoneBad

    if {[info exist ::env(TCL_TZ)]} {
	set timezone $::env(TCL_TZ)
    } elseif {[info exist ::env(TZ)]} {
	set timezone $::env(TZ)
    } else {
        # ask engine for the cached timezone:
        set timezone [configure -system-tz]
        if { $timezone ne "" } {
            return $timezone
        }
	if { $::tcl_platform(platform) eq {windows} } {
	    set timezone [GuessWindowsTimeZone]