summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2017-01-10 22:36:19 (GMT)
committersebres <sebres@users.sourceforge.net>2017-01-10 22:36:19 (GMT)
commitc5ff074db9dcb68224ba79b0e8a72edcbf63610a (patch)
tree2c378980d604fa16faa34eff8ff96fdd4cc129b5 /library
parent717e43f1bd2a2b769c8e2a60db22a98c8690db1a (diff)
downloadtcl-c5ff074db9dcb68224ba79b0e8a72edcbf63610a.zip
tcl-c5ff074db9dcb68224ba79b0e8a72edcbf63610a.tar.gz
tcl-c5ff074db9dcb68224ba79b0e8a72edcbf63610a.tar.bz2
cacheable conversions Local2UTC / UTC2Local fixed (some TZ switches time seconds bound) and optimized (last period ranges saved);
prepare to back-port clock format
Diffstat (limited to 'library')
-rwxr-xr-xlibrary/clock.tcl14
1 files changed, 0 insertions, 14 deletions
diff --git a/library/clock.tcl b/library/clock.tcl
index ca12f4a..c4e698c 100755
--- a/library/clock.tcl
+++ b/library/clock.tcl
@@ -685,20 +685,6 @@ proc ::tcl::clock::format { args } {
set locale [string tolower $locale]
set clockval [lindex $args 0]
- # Get the data for time changes in the given zone
-
- if {$timezone eq ""} {
- if {[set timezone [configure -system-tz]] eq ""} {
- set timezone [GetSystemTimeZone]
- }
- }
- if {![info exists TZData($timezone)]} {
- if {[catch {set timezone [SetupTimeZone $timezone]} retval opts]} {
- dict unset opts -errorinfo
- return -options $opts $retval
- }
- }
-
# Build a procedure to format the result. Cache the built procedure's name
# in the 'FormatProc' array to avoid losing its internal representation,
# which contains the name resolution.