summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-03-04 15:47:31 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-03-04 15:47:31 (GMT)
commit9e9fbda0eb5e5923a2848d23ad1d1ea097986ec1 (patch)
treea1fb191d21ebab41fd39a5077e6138a9c2bc6b72
parentac9dd0e5fadfce303f1108d5215f23355f1b638a (diff)
downloadtcl-9e9fbda0eb5e5923a2848d23ad1d1ea097986ec1.zip
tcl-9e9fbda0eb5e5923a2848d23ad1d1ea097986ec1.tar.gz
tcl-9e9fbda0eb5e5923a2848d23ad1d1ea097986ec1.tar.bz2
Add akst/akdt (Alaska) time-zones to "clock" command. Also 'stolen' from "sebres-?-?-clock-speedup-cr2" branch
-rw-r--r--library/clock.tcl4
1 files changed, 3 insertions, 1 deletions
diff --git a/library/clock.tcl b/library/clock.tcl
index b9bbc2c..e578f4d 100644
--- a/library/clock.tcl
+++ b/library/clock.tcl
@@ -31,7 +31,7 @@ uplevel \#0 {
# library code can find message catalogs and time zone definition files.
namespace eval ::tcl::clock \
- [list variable LibDir [file dirname [info script]]]
+ [list variable LibDir [info library]]
#----------------------------------------------------------------------
#
@@ -554,6 +554,8 @@ proc ::tcl::clock::Initialize {} {
pdt -0700 \
yst -0900 \
ydt -0800 \
+ akst -0900 \
+ akdt -0800 \
hst -1000 \
hdt -0900 \
cat -1000 \