Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-10-05
01:00 • Closed ticket [1038554fff]: clock tests 34.6, 34.16-18 fail on w2k plus 3 ot... artifact: 94b34467e3 user: kennykb
2004-10-01
15:27 • New ticket [1038554fff]. artifact: fb5a5033f4 user: nobody

clock tests 34.6, 34.16-18 fail on w2k

Closed / Fixed1038554fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-10-01 15:27:40
As reported on the chat:
==== clock-34.6 clock scan tests FAILED
==== Contents of test case:

    set time [clock scan "Oct 23,1992 15:00"]
    clock format $time -format {%b %d,%Y %H:%M}
-timezone :localtime

---- Result was:
Oct 23,1992 16:00
---- Result should have been (exact matching):
Oct 23,1992 15:00
==== clock-34.6 FAILED


==== clock-34.16 clock scan, ISO 8601 point in time
format FAILED
==== Contents of test case:

    set time [clock scan "19921023T235959"]
    clock format $time -format {%b %d, %Y %H:%M:%S}
-timezone :localtime

---- Result was:
Oct 24, 1992 00:59:59
---- Result should have been (exact matching):
Oct 23, 1992 23:59:59
==== clock-34.16 FAILED


==== clock-34.17 clock scan, ISO 8601 point in time
format FAILED
==== Contents of test case:

    set time [clock scan "19921023 235959"]
    clock format $time -format {%b %d, %Y %H:%M:%S}
-timezone :localtime

---- Result was:
Oct 24, 1992 00:59:59
---- Result should have been (exact matching):
Oct 23, 1992 23:59:59
==== clock-34.17 FAILED


==== clock-34.18 clock scan, ISO 8601 point in time
format FAILED
==== Contents of test case:

    set time [clock scan "19921023T000000"]
    clock format $time -format {%b %d, %Y %H:%M:%S}
-timezone :localtime

---- Result was:
Oct 23, 1992 01:00:00
---- Result should have been (exact matching):
Oct 23, 1992 00:00:00
==== clock-34.18 FAILED

The tests work if the -timezone :localtime option is
removed.

Michael
kennykb Closed ticket [1038554fff]. [History diff]2004-10-05 01:00:48
Log in (anonymous is fine) to add a comment.