Skip to content
Tcl Source Code History Of Ticket 587194ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 587194ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 587194ffffffffffffffffffffffffffffffffff

  1. Ticket change [51506e610a] (rid 126117) by rrh on 2002-07-26 18:59:45:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      I (think I) observe 3 problems with "clock scan".
      
      In the tcl8.4b1 release, the clock.n man page discusses
      the
      clock scan's ability to crack ISO 8601 point-in-time
      formats.
      The man page is incomplete, since it doesn't give
      examples of
      ISO 8601 formats using hyphens and colons, such as:
        2002-07-15T20:15:00
      
      Then, sitting here in the US PDT time zone (-7:00 from
      UTC) if I do
        clock format [ clock scan 2002-07-15T20:15:00 ]
      I get
        Mon Jul 15 06:15:00 PDT 2002
      This is 2*7 hours off of reality; the value 7 is my UTC
      delta.
      
      Finally, clock scan can't handle the suffix time zone
      qualifier, such as
        2002-07-26T11:56:39-07:00
      It throws an error "unable to convert"
      
      I'm no expert in the tarpit of calendrics, and various
      calendric
      specifications as recommended by ISO or WWW or RFC.
      
      Please see Tcl bug 218518 which was closed ~2years ago.
      I don't think that the problems in 218518 were fully
      fixed.
      
      
    4. foundin initialized to: "obsolete: 8.4b1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "rrh"
    9. subsystem initialized to: "16. Commands A-H"
    10. title initialized to: "clock scan weirdness on ISO 8601 times"
    11. type initialized to: "Bug"
  2. Ticket change [03764c585e] (rid 119833) by dkf on 2002-07-29 16:23:09:

    1. assignee changed to: "kennykb"
    2. subsystem changed to: "06. Time Measurement"
  3. Ticket change [fc9e45cea4] (rid 108268) by kennykb on 2004-08-19 21:01:33:

    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"