summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2004-08-19 18:55:03 (GMT)
committerKevin B Kenny <kennykb@acm.org>2004-08-19 18:55:03 (GMT)
commitaedff4653c66d0c490a35ac117de3e4bee784f4f (patch)
tree0e91f2aae97f67f159f2fa31f50dd220431947e6 /library
parentefec773f97b011bca64f60476b3c982c6697ceff (diff)
downloadtcl-aedff4653c66d0c490a35ac117de3e4bee784f4f.zip
tcl-aedff4653c66d0c490a35ac117de3e4bee784f4f.tar.gz
tcl-aedff4653c66d0c490a35ac117de3e4bee784f4f.tar.bz2
* library/clock.tcl (format): Changed default timezone format
from alphabetic to numeric to produce scannable times in more locales. * tests/clock.test (clock-37.1): Removed now-unused 'needPST' constraint and the comments that refer to it.
Diffstat (limited to 'library')
-rw-r--r--library/clock.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/clock.tcl b/library/clock.tcl
index f4a561d..97e6e9d 100644
--- a/library/clock.tcl
+++ b/library/clock.tcl
@@ -13,7 +13,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: clock.tcl,v 1.2 2004/08/18 20:59:33 kennykb Exp $
+# RCS: @(#) $Id: clock.tcl,v 1.3 2004/08/19 18:55:09 kennykb Exp $
#
#----------------------------------------------------------------------
@@ -677,7 +677,7 @@ proc ::tcl::clock::format { args } {
# Set defaults
set clockval [lindex $args 0]
- set format {%a %b %d %H:%M:%S %Z %Y}
+ set format {%a %b %d %H:%M:%S %z %Y}
set gmt 0
set locale C
set timezone [GetSystemTimeZone]