Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fc9e45cea4861758bec56f5c1213aff34e1001bc
Ticket: 587194ffffffffffffffffffffffffffffffffff
clock scan weirdness on ISO 8601 times
User & Date: kennykb on 2004-08-19 21:01:33
Changes

  1. closedate changed to: "2004-08-19T14:01:33"
  2. closer changed to: "kennykb"
  3. icomment:
    Logged In: YES 
    user_id=99768
    
    The [clock scan] with a fixed format in 8.5 can crack
    most ISO8601 point-in-time formats; certainly, all the
    ones that are in common use.  For instance,
    
    [clock scan 2002-07-15T20:15:00 \
      -format %Y-%m-%dT%H:%M:%S]
    
    will do what is wanted, as will
    
    [clock scan 2002-07-15T20:15:00-07:00 \
       -format %Y-%m-%dT%H:%M:%S%Z]
    
    I plan within the next few weeks to put code into
    tcllib to accept a string that is known to be an
    ISO8601 point-in-time and deduce its format for
    the new [clock scan]; this code, however, is
    much less urgent, since those exchanging ISO8601
    dates have normally agreed on the format in detail.
    
    
  4. login: "kennykb"
  5. mimetype: "text/plain"
  6. resolution changed to: "Fixed"
  7. status changed to: "Closed"
  8. username: "kennykb"