Overview
| Artifact ID: | 53dc8895e54a4e315f7e7d62c136409ffefbac97 |
|---|---|
| Ticket: | 489705ffffffffffffffffffffffffffffffffff
[clock scan] allow / and . date-delims |
| User & Date: | jbuckman on 2001-12-06 04:18:15 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- 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 - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "jbuckman"
- subsystem changed to: "16. Commands A-H"
- title changed to: ""clock scan" allow / and . date-delims"
- type changed to: "RFE"