diff options
author | sebres <sebres@users.sourceforge.net> | 2017-01-09 18:28:56 (GMT) |
---|---|---|
committer | sebres <sebres@users.sourceforge.net> | 2017-01-09 18:28:56 (GMT) |
commit | fc84850b75bc0741998145b52bbe2269c2d76e8d (patch) | |
tree | 2e12b65b7e9b80d94eb8d23ef09aea4ca6698d23 /tests/clock.test | |
parent | 6587b74a63f7119efda6c88ecae5e88665fb2c71 (diff) | |
parent | 31e10b3526ac888b69c0b1b3fb57970a26f3514c (diff) | |
download | tcl-fc84850b75bc0741998145b52bbe2269c2d76e8d.zip tcl-fc84850b75bc0741998145b52bbe2269c2d76e8d.tar.gz tcl-fc84850b75bc0741998145b52bbe2269c2d76e8d.tar.bz2 |
Merge fix clock test-cases from 8.6: Make test clock-67.5 time zone independent - execution fails in the time zones below gmt
Diffstat (limited to 'tests/clock.test')
-rw-r--r-- | tests/clock.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/clock.test b/tests/clock.test index 08036ca..6a0fecd 100644 --- a/tests/clock.test +++ b/tests/clock.test @@ -37009,10 +37009,10 @@ test clock-67.5 {Change scan %x output on global locale change [Bug 4a0c163d24]} set current [msgcat::mclocale] } -body { msgcat::mclocale de_de - set res [clock scan "01.01.1970" -locale current -format %x] + set res [clock scan "01.01.1970" -locale current -format %x -gmt 1] msgcat::mclocale en_uk # This will fail without the bug fix, as still de_de is active - expr {$res == [clock scan "01/01/1970" -locale current -format %x]} + expr {$res == [clock scan "01/01/1970" -locale current -format %x -gmt 1]} } -cleanup { msgcat::mclocale $current } -result {1} |