Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 51506e610a6c0eb2288051a9195c417a72483dff
Ticket: 587194ffffffffffffffffffffffffffffffffff
clock scan weirdness on ISO 8601 times
User & Date: rrh on 2002-07-26 18:59:45
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed 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 changed to: "obsolete: 8.4b1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "rrh"
  9. subsystem changed to: "16. Commands A-H"
  10. title changed to: "clock scan weirdness on ISO 8601 times"
  11. type changed to: "Bug"