diff options
author | ericm <ericm@noemail.net> | 2000-01-14 22:15:51 (GMT) |
---|---|---|
committer | ericm <ericm@noemail.net> | 2000-01-14 22:15:51 (GMT) |
commit | e3f3396272e84adcbdce1a8ba782c1dfa94f9aa4 (patch) | |
tree | be858120ee7933f92e52d0b4138f6d4636c6f151 /tests | |
parent | 94075f8b2dd1683ecc7ac0d651209caf5ba82aea (diff) | |
download | tcl-e3f3396272e84adcbdce1a8ba782c1dfa94f9aa4.zip tcl-e3f3396272e84adcbdce1a8ba782c1dfa94f9aa4.tar.gz tcl-e3f3396272e84adcbdce1a8ba782c1dfa94f9aa4.tar.bz2 |
* unix/tclUnixTime.c: New clock format format.
* compat/strftime.c: New clock format format.
* generic/tclGetDate.y: New clock scan format.
FossilOrigin-Name: 53023d030d3ce288ed929ac8fad6c03646e458c3
Diffstat (limited to 'tests')
-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 |