diff options
author | sebres <sebres@users.sourceforge.net> | 2024-04-03 18:49:41 (GMT) |
---|---|---|
committer | sebres <sebres@users.sourceforge.net> | 2024-04-03 18:49:41 (GMT) |
commit | 86987b672b2c4c61b96d2ffbe2a22b2fa1d4c37d (patch) | |
tree | d7efc9ee8def270492cc2cd0c28ecc379a31591d | |
parent | 1e5de4f5f4ea205023448e37c7aab3c8edeaf287 (diff) | |
download | tcl-86987b672b2c4c61b96d2ffbe2a22b2fa1d4c37d.zip tcl-86987b672b2c4c61b96d2ffbe2a22b2fa1d4c37d.tar.gz tcl-86987b672b2c4c61b96d2ffbe2a22b2fa1d4c37d.tar.bz2 |
fixed [dc0770a2397ae0b1]: tests are timezone independent now
-rw-r--r-- | tests/clock.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/clock.test b/tests/clock.test index b809ba1..b3510fa 100644 --- a/tests/clock.test +++ b/tests/clock.test @@ -37315,10 +37315,10 @@ test clock-46.29-1 {scan: validation rules: invalid day of year} \ } -result [lrepeat 20 1 {unable to convert input string: invalid day of year}] test clock-46.29-2 {scan: validation rules: valid day of leap/not leap year} \ -body { - list [clock format [clock scan "366-2016" -format "%j-%Y" -valid 1 -gmt 1] -format "%d-%m-%Y"] \ - [clock format [clock scan "365-2017" -format "%j-%Y" -valid 1 -gmt 1] -format "%d-%m-%Y"] \ - [clock format [clock scan "366-2016" -format "%j-%G" -valid 1 -gmt 1] -format "%d-%m-%Y"] \ - [clock format [clock scan "365-2017" -format "%j-%G" -valid 1 -gmt 1] -format "%d-%m-%Y"] + list [clock format [clock scan "366-2016" -format "%j-%Y" -valid 1 -gmt 1] -format "%d-%m-%Y" -gmt 1] \ + [clock format [clock scan "365-2017" -format "%j-%Y" -valid 1 -gmt 1] -format "%d-%m-%Y" -gmt 1] \ + [clock format [clock scan "366-2016" -format "%j-%G" -valid 1 -gmt 1] -format "%d-%m-%Y" -gmt 1] \ + [clock format [clock scan "365-2017" -format "%j-%G" -valid 1 -gmt 1] -format "%d-%m-%Y" -gmt 1] } -result {31-12-2016 31-12-2017 31-12-2016 31-12-2017} test clock-46.30 {scan: validation rules: invalid year} -setup { set orgcfg [list -min-year [::tcl::unsupported::clock::configure -min-year] -max-year [::tcl::unsupported::clock::configure -max-year] \ |