Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b5a89b68f385248a289619613a20206bf2ae7e31
Ticket: 1573884fffffffffffffffffffffffffffffffff
clock scan - discrepancy with documentation
User & Date: m_smithfield on 2006-10-09 17:12:55
Changes

  1. assignee changed to: "kennykb"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The manual for [clock] says....
    
    %P
        On output, produces an indicator for the part of the day, A.M. 
        or P.M., appropriate to the given locale. If the script of the 
        given locale supports multiple letterforms, lowercase is 
        preferred. On input, matches the representation A.M. or P.M. 
        in the given locale, in either case.
    
    Note: "A.M. or P.M."
    
    In tclsh...
    
    % clock scan "10 30 p.m." -format "%H %m %P"     
    input string does not match supplied format
    % clock scan "10 30 pm" -format "%H %m %P"
    1160402400
    
    I would request that %p and %P be able to parse :
    "PM", "P.M", "P.M.", "pm", "p.m", and "p.m."
    
    Or change the manual to reflect the actual behavior.
    
  4. foundin changed to: "obsolete: 8.5a4"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "m_smithfield"
  10. subsystem changed to: "06. Time Measurement"
  11. title changed to: "clock scan - discrepancy with documentation"
  12. type changed to: "Bug"