Overview
| Artifact ID: | 5b58465838c028c85dddf16a373c9e0ae5247204 |
|---|---|
| Ticket: | 748939ffffffffffffffffffffffffffffffffff
clock.test produces wrong TZ on Tru64 |
| User & Date: | mmokrejs on 2004-05-19 15:45:08 |
Changes
- icomment:
Logged In: YES user_id=696559 Tested against latest snapshot tcl-20040506.tar.gz on another host running same OS: clock.test ==== clock-3.2 clock format tests FAILED ==== Contents of test case: # TCL_USE_TIMEZONE_VAR catch {set oldtz $env(TZ)} set env(TZ) PST set x {} append x [clock format 863800000 -format %Z -gmt 1] append x [set env(TZ)] catch {unset env(TZ); set env(TZ) $oldtz} set x ---- Result was: CETPST ---- Result should have been (exact matching): GMTPST ==== clock-3.2 FAILED ==== clock-3.4 clock format tests FAILED ==== Contents of test case: # tzset() under Borland doesn't seem to set up tzname[] for gmt timezone. # tzset() under MSVC has the following weird observed behavior: # First time we call "clock format [clock seconds] -format %Z -gmt 1" # we get "GMT", but on all subsequent calls we get the current time # zone string, even though env(TZ) is GMT and the variable _timezone # is 0. set x {} append x [clock format 863800000 -format %Z -gmt 1] append x [clock format 863800000 -format %Z -gmt 1] ---- Result was: CETCET ---- Result should have been (exact matching): GMTGMT ==== clock-3.4 FAILED - login: "mmokrejs"
- mimetype: "text/plain"
- username: "mmokrejs"