diff options
author | sebres <sebres@users.sourceforge.net> | 2017-01-09 18:23:44 (GMT) |
---|---|---|
committer | sebres <sebres@users.sourceforge.net> | 2017-01-09 18:23:44 (GMT) |
commit | 31e10b3526ac888b69c0b1b3fb57970a26f3514c (patch) | |
tree | 519b9c8c820776fb05dd69d056fb64ecaa42ed64 | |
parent | 94bc96a84e42c60bfd9dae88945452c992729114 (diff) | |
download | tcl-31e10b3526ac888b69c0b1b3fb57970a26f3514c.zip tcl-31e10b3526ac888b69c0b1b3fb57970a26f3514c.tar.gz tcl-31e10b3526ac888b69c0b1b3fb57970a26f3514c.tar.bz2 |
Fix clock test-cases: Make test clock-67.5 time zone independent - execution fails in the time zones below gmt
-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 615f3a8..4e44348 100644 --- a/tests/clock.test +++ b/tests/clock.test @@ -36954,10 +36954,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} |