Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 53dc8895e54a4e315f7e7d62c136409ffefbac97
Ticket: 489705ffffffffffffffffffffffffffffffffff
[clock scan] allow / and . date-delims
User & Date: jbuckman on 2001-12-06 04:18:15
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The "clock scan" command should allow "/" and "." as 
    date delimeters. I'm encountering dates from SQL 
    databases formatted in this way, and periods in the 
    date are increasing popular in globalized programs.
    
    Eg: allow "2001.12.21" and "2001/12/21". 
    Currently "2001-12-21" will work fine.
    
    Today, I replace / and . with - to make these date 
    types work with clock scan, like so:
    
       regsub -all {/} $sql_date_text {-} unSlashedDate
       regsub -all {\.} $unSlashedDate {-} unSlashedDate2
       set seconds [clock scan $unSlashedDate2]
    
    this seem like a fairly straightforward change to the 
    C code for "clock scan". I can make the patch and 
    submit it, if that's preferred.
    
    -john
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "jbuckman"
  9. subsystem changed to: "16. Commands A-H"
  10. title changed to: ""clock scan" allow / and . date-delims"
  11. type changed to: "RFE"