Artifacts Associated With Ticket 489705ffffffffffffffffffffffffffffffffff
Ticket change [53dc8895e5] (rid 93828) by jbuckman on 2001-12-06 04:18:15:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized 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 initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "jbuckman"
- subsystem initialized to: "16. Commands A-H"
- title initialized to: ""clock scan" allow / and . date-delims"
- type initialized to: "RFE"
Ticket change [1d423942e0] (rid 90770) by dkf on 2001-12-06 16:48:41:
- assignee changed to: "kennykb"
- title changed to: ""clock scan" allow / and . date-delims"
Ticket change [f3a9ad1985] (rid 129751) by dkf on 2003-02-25 16:31:43:
- title changed to: "[clock scan] allow / and . date-delims"
Ticket change [5f1c22272f] (rid 115759) by kennykb on 2004-08-19 22:40:35:
- icomment:
Logged In: YES user_id=99768 Tcl 8.5 allows considerably more flexibility in the formats that [clock scan] can process - at the expense of needing to tell it (via a -format option) about the format you expect to process. Parsing with - and . is trivial.
- login: "kennykb"
- mimetype: "text/plain"
- resolution changed to: "Accepted"
- status changed to: "Closed"
- username: "kennykb"
- icomment:
Ticket change [ac2917f008] (rid 101246) by kennykb on 2004-08-19 22:40:36:
- closedate changed to: "2004-08-19T15:40:36"
- closer changed to: "kennykb"