Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-05
06:56 • Ticket [217969ffff] clock format %Z option produces verbose output status st... artifact: eb314c979b user: dgp
2000-10-26
08:10 • Closed ticket [217969ffff]. artifact: df37302eb9 user: welch
00:46 • New ticket [217969ffff]. artifact: dceefd71e0 user: nobody

clock format %Z option produces verbose output

Closed / Fixed217969ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:46:56
OriginalBugID: 4918 Bug
Version: 8.3
SubmitDate: '2000-04-07'
LastModified: '2000-04-07'
Severity: MED
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
RelatedBugIDs: 1978
OS: Windows NT
OSVersion: 4.0 sp5
Machine: AMD K6-2/333 128 MB RAM
FixedDate: '2000-10-25'
ClosedDate: '2000-04-07'


Name:
David Cuthbert

CVS:
05 Apr 2000

Comments:
Somebody on the NT core team apparently thought it would be cute to
    write out verbose names like this.  Interestingly, the Win32
    Programmer's Reference suggests that the output should be "EDT".
    
    Maybe there's a way to reference the names from generic/tclDate.c?  (I
    don't know of a good way to translate this offhand, though).

ReproducibleScript:
clock format [clock seconds] -format %Z

ObservedBehavior:
Output: "Eastern Daylight Time"
This is overly verbose and unparseable by most programs.

DesiredBehavior:
Output: "EDT"



related to 1978, as %Z is part of default format. 
-- 04/07/2000 hobbs
welch Closed ticket [217969ffff]. [History diff]2000-10-26 08:10:57
dgp Ticket [217969ffff]: 3 changes [History diff]2001-04-05 06:56:34
Log in (anonymous is fine) to add a comment.