Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1508d4d6b682eb4fe948d009e2c8c28715e064a9
Ticket: 218357ffffffffffffffffffffffffffffffffff
Clock Formatting Incorrect
User & Date: nobody on 2000-10-26 00:56:39
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 4147 Bug
    Version: 8.2.2
    SubmitDate: '2000-02-09'
    LastModified: '2000-02-10'
    Severity: SER
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    OS: Windows NT
    OSVersion: 4.0
    Machine: Dell GX1
    FixedDate: '2000-10-25'
    ClosedDate: '2000-02-10'
    
    
    Name:
    Allen Flick
    
    Extensions:
    None
    
    ReproducibleScript:
    % clock format [clock seconds]
    Wed Feb 09 11:16:31 Central Standard Time 2000
    % clock format [clock seconds] -format "%H:%M:%S"
    11:17:09
    % clock format [clock seconds] -format "%h:%M:%S %p"
    Feb:17:21 AM
    % clock format [clock seconds] -format "%b:%M:%S %p"
    Feb:17:46 AM
    % clock format [clock seconds] -format "%B:%M:%S %p"
    February:17:55 AM
    %
    
    ObservedBehavior:
    The month, abbreviated, is inserted when *h* is used for formatting, like the
    use of lowercase *b* is supposed to provide.
    
    DesiredBehavior:
    Using the %h, above, the expected behavior would be the formatting to
    provide the following output:
    
    % clock format [clock seconds] -format "%h:%M:%S %p"
    11:17:21 AM
    
    
    
    This is the doc'ed behavior, although the P.Raines book and
    pocket ref doc it incorrectly. 
    -- 02/10/2000 hobbs
    
  4. foundin changed to: "obsolete: 8.2.2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "48. Number Handling"
  10. title changed to: "Clock Formatting Incorrect"
  11. type changed to: "Bug"