#1075 default time formatting messed up

obsolete: 8.2.2
closed-fixed
nobody
2
2001-04-04
2000-10-26
Anonymous
No

OriginalBugID: 3711 Bug
Version: 8.2.2
SubmitDate: '1999-11-29'
LastModified: '1999-11-30'
Severity: LOW
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: Windows NT
Machine: Windows NT 4.0, Service Pack 5
FixedDate: '1999-11-30'
FixedInVersion: 8.3b1
ClosedDate: '1999-11-29'

Name:
Peter Hinely

ReproducibleScript:
puts [clock format [clock seconds]]

ObservedBehavior:
puts [clock format [clock seconds]]
prints out
Mon Nov 29 17:57:47 %Z 1999
on my system.

Notice the %Z where the time zone name should be.

DesiredBehavior:
The time zone name should go where the %Z appears in the output.

On my NTsp4 machine, I get:

(tkcon) 49 % clock format [clock seconds]
Mon Nov 29 22:59:26 Pacific Standard Time 1999

The user may have an incorrect setup, or a bad DLL (this calls
a system function in the end). Or perhaps sp5 screwed something up.
-- 11/29/1999 hobbs

It turns out that the time zone had to be one that doesn't
use DST, like Hawaii, in which case we were not handling the
TZ type correctly. This is fixed for 8.3b1.
-- 11/30/1999 hobbs

Discussion

  • Brent B. Welch
    Brent B. Welch
    2000-10-26

    • priority: 5 --> 2
    • status: open --> closed-fixed
     
  • Don Porter
    Don Porter
    2001-04-04

    • labels: 104236 --> 06. Time Measurement