diff options
author | kennykb <kennykb@noemail.net> | 2009-10-29 01:17:53 (GMT) |
---|---|---|
committer | kennykb <kennykb@noemail.net> | 2009-10-29 01:17:53 (GMT) |
commit | f20d8ed06c85475f52d0bb63e4ae62dc173ffe66 (patch) | |
tree | 69ad1f8c77ef864732b188ee501ba3ca98ed5887 /tests/clock.test | |
parent | 59665ec16cbebdcb9f778d733b61c3d77cb5b2a8 (diff) | |
download | tcl-f20d8ed06c85475f52d0bb63e4ae62dc173ffe66.zip tcl-f20d8ed06c85475f52d0bb63e4ae62dc173ffe66.tar.gz tcl-f20d8ed06c85475f52d0bb63e4ae62dc173ffe66.tar.bz2 |
* library/clock.tcl (LocalizeFormat):
* tests/clock.test (clock-67.1):
Corrected a problem where '%%' followed by a letter in a format group
could expand recursively: %%R would turn into %%H:%M:%S. [Bug 2819334]
FossilOrigin-Name: 85408966947803ca65d49b1f790995786d23f059
Diffstat (limited to 'tests/clock.test')
-rw-r--r-- | tests/clock.test | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/clock.test b/tests/clock.test index 51d5655..d5957bd 100644 --- a/tests/clock.test +++ b/tests/clock.test @@ -11,7 +11,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.93 2009/10/27 03:23:32 kennykb Exp $ +# RCS: @(#) $Id: clock.test,v 1.94 2009/10/29 01:17:54 kennykb Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -36746,6 +36746,10 @@ test clock-66.1 {clock scan, no date, never-before-seen timezone} {*}{ -result 1256572800 } +test clock-67.1 {clock format, %% with a letter following [Bug 2819334]} { + clock format [clock seconds] -format %%r +} %r + # cleanup namespace delete ::testClock |