Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: caffcc77275faadf3bfc9a9352bb9766a5a78e1a
Ticket: 217854ffffffffffffffffffffffffffffffffff
Tcl Date Routines don't handle ISO date formats
User & Date: nobody on 2000-10-26 00:44:55
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1957 Bug
    Version: 8.0.5
    SubmitDate: '1999-04-28'
    LastModified: '1999-08-07'
    Severity: SER
    Status: Closed
    Submitter: pat
    ChangedBy: hobbs
    RelatedBugIDs: 847
    OS: Windows NT
    Machine: X86
    FixedDate: '2000-10-25'
    ClosedDate: '1999-08-07'
    
    
    Name:
    Matt Newman
    
    CVS:
    Apr 28th 1999
    
    Extensions:
    the kitchen sink :-)
    
    CustomShell:
    Mods to tclTimer.c to support objects (still waiting for this to be adopted by scriptics :-(
    
    Comments:
    There are a number of very comprehensive documents from ISO describing
        valid date formats. The most common (and recommended date formats are
        not supported by Tcl)
    
        E.g.
    
        YYYYMMDD<space optional>HH:MM:SS
    
        or
    
        YYYYMMDD'T'HH:MM:SS
    
        or
    
        YYYY-MM-DD HH:MM:SS (a common one w/ ODBC)
    
        *PLEASE PLEASE PLEASE* fix the TclGetDate routines to handle these -
        there have been contributed patches over the last six years (or so)
        covering this stuff and there are widely available implementations that
        cope with the existing formats plus this stuff. I will help if Scriptics
        are willing.
    
    ReproducibleScript:
    set date "19991003 12:22"
        set sec [clock scan $date]
    
    ObservedBehavior:
    Can't decode date
    
    DesiredBehavior:
    For it to work with all *common* ISO date formats.
    
    
    
    
    
  4. foundin changed to: "final: 8.0.5"
  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: "69. Other"
  10. title changed to: "Tcl Date Routines don't handle ISO date formats"
  11. type changed to: "RFE"