Import Tcl 8.6.12
This commit is contained in:
@@ -2988,8 +2988,7 @@ proc ::tcl::clock::GetSystemTimeZone {} {
|
||||
set timezone $result
|
||||
} elseif {[set result [getenv TZ]] ne {}} {
|
||||
set timezone $result
|
||||
}
|
||||
if {![info exists timezone]} {
|
||||
} else {
|
||||
# Cache the time zone only if it was detected by one of the
|
||||
# expensive methods.
|
||||
if { [info exists CachedSystemTimeZone] } {
|
||||
|
||||
Reference in New Issue
Block a user