diff options
author | ericm <ericm> | 2000-01-14 22:15:51 (GMT) |
---|---|---|
committer | ericm <ericm> | 2000-01-14 22:15:51 (GMT) |
commit | 35d4ffd9a74d652788b42a6c8300dbf3c2a62eb6 (patch) | |
tree | be858120ee7933f92e52d0b4138f6d4636c6f151 /tests/clock.test | |
parent | 72978d2b3dc58e62e08e27987a2ad2fbe01e04d9 (diff) | |
download | tcl-35d4ffd9a74d652788b42a6c8300dbf3c2a62eb6.zip tcl-35d4ffd9a74d652788b42a6c8300dbf3c2a62eb6.tar.gz tcl-35d4ffd9a74d652788b42a6c8300dbf3c2a62eb6.tar.bz2 |
* unix/tclUnixTime.c: New clock format format.
* compat/strftime.c: New clock format format.
* generic/tclGetDate.y: New clock scan format.
Diffstat (limited to 'tests/clock.test')
-rw-r--r-- | tests/clock.test | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/clock.test b/tests/clock.test index a947a42..74a32b4 100644 --- a/tests/clock.test +++ b/tests/clock.test @@ -10,7 +10,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.test,v 1.8 2000/01/13 00:12:33 ericm Exp $ +# RCS: @(#) $Id: clock.test,v 1.9 2000/01/14 22:15:51 ericm Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -221,11 +221,11 @@ test clock-4.24 {clock scan, number:number:number-timezone} { -format {%b %d, %Y %H:%M:%S} -gmt true } "Dec 31, 1999 08:00:30" test clock-4.25 {clock scan, DST for days} { - clock scan "tomorrow" -base 941353200 -} 941443200 + clock scan "tomorrow" -base [clock scan "19991031 00:00:00"] +} [clock scan "19991101 00:00:00"] test clock-4.26 {clock scan, DST for days} { - clock scan "yesterday" -base 941443200 -} 941353200 + clock scan "yesterday" -base [clock scan "19991101 00:00:00"] +} [clock scan "19991031 00:00:00"] test clock-4.27 {clock scan, day} knownBug { clock format [clock scan "Monday" -gmt true -base 946627200] \ -format {%b %d, %Y %H:%M:%S} -gmt true |