Tcl Source Code

View Ticket
Login
Ticket UUID: 8587cb648c445f7c562c41f7a0db9f7b14658dde
Title: clock default format incorrect
Type: Bug Version: 8.5.15
Submitter: anonymous Created on: 2015-09-02 05:45:19
Subsystem: 06. Time Measurement Assigned To: jan.nijtmans
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2015-10-07 13:32:44
Resolution: Fixed Closed By: jan.nijtmans
    Closed on: 2015-10-07 13:32:44
Description:
The clock documentation says the default format is {%a %b %d %H:%M:%S %z %Y}.  But it looks like the default format uses %Z, not %z.

% clock format [clock seconds]
Tue Sep 01 22:29:30 PDT 2015
% clock format [clock seconds] -format {%a %b %d %H:%M:%S %z %Y}
Tue Sep 01 22:30:47 -0700 2015
User Comments: jan.nijtmans added on 2015-10-07 13:32:44:
Fixed in core-8-5-branch and trunk