summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-07-10 10:32:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-07-10 10:32:00 (GMT)
commitae39d915c8de190f44a3b6989665dd1e92b07727 (patch)
tree19083098520a088d3db81992402dae56f337d7d9
parentf556243f24b0af0553234722d383e86886defa7c (diff)
downloadtcl-ae39d915c8de190f44a3b6989665dd1e92b07727.zip
tcl-ae39d915c8de190f44a3b6989665dd1e92b07727.tar.gz
tcl-ae39d915c8de190f44a3b6989665dd1e92b07727.tar.bz2
Fix test-cases clock-34.65 and clock-34.66, they seem to be affected by summertime
-rw-r--r--tests/clock.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/clock.test b/tests/clock.test
index a3498e8..d69dd6c 100644
--- a/tests/clock.test
+++ b/tests/clock.test
@@ -35891,13 +35891,13 @@ test clock-34.64 {clock scan tests (TZ)} {
clock format $time -format {%b %d,%Y %H:%M:%S %Z} -gmt true
} {Jan 31,2014 22:59:59 GMT}
test clock-34.65 {clock scan tests (relspec, day unit not TZ)} {
- set time [clock scan "23:59:59 +15 day" -base 2000000]
+ set time [clock scan "23:59:59 +15 day" -base 2000000 -gmt true]
clock format $time -format {%b %d,%Y %H:%M:%S %Z} -gmt true
-} {Feb 08,1970 22:59:59 GMT}
+} {Feb 08,1970 23:59:59 GMT}
test clock-34.66 {clock scan tests (relspec, day unit not TZ)} {
- set time [clock scan "23:59:59 -15 day" -base 2000000]
+ set time [clock scan "23:59:59 -15 day" -base 2000000 -gmt true]
clock format $time -format {%b %d,%Y %H:%M:%S %Z} -gmt true
-} {Jan 09,1970 22:59:59 GMT}
+} {Jan 09,1970 23:59:59 GMT}
test clock-34.67 {clock scan tests (merid and TZ)} {
set time [clock scan "10:59 pm CET" -base 2000000]
clock format $time -format {%b %d,%Y %H:%M:%S %Z} -gmt true