Artifacts Associated With Ticket 219242ffffffffff
Ticket change [18e8d0d257] (rid 122738) by nobody on 2000-10-26 05:04:04:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 5208 Bug Version: 8.3 SubmitDate: '2000-04-20' LastModified: '2000-06-26' Severity: LOW Status: Assigned Submitter: techsupp ChangedBy: ericm RelatedBugIDs: 2732 6106 OS: All FixedDate: '2000-10-25' ClosedDate: '2000-10-25' Name: Devin Eyre Extensions: Oratcl2.5 Comments: The command works for times less than 0024, and times greater than 0059. It worked fine in tclsh8.2 A workaround I've found is to insert a colon in the middle of the time. I tried to search your bug database for this, but it wasn't working at the time. ReproducibleScript: clock scan "tomorrow 0024" ObservedBehavior: unable to convert date-time string "tomorrow 0024" DesiredBehavior: 956358060 Verified with 8.3.0. The problem is in the clock scan parser. All numbers with fewer than 6 digits are treated as UNUMBER tokens. The parser is then left to determine, from the magnitude of the number, whether it includes an hour component and a minute component, or just an hour component. The test used to make this determination is: $1 < 100 This works for times after 1:00am (as they would all be expressed in 24hr format as 01xx, which is greater than 100), but not for times between 0000 and 0059. Times less than 0024 are processed, but incorrectly: instead of 00:23 (for example), they are interpreted as 23:00. This is not correct behavior. Fixing this requires extending the parser to discriminate between 4-/3-digit numbers and 2-/1-digit numbers. 4 or 3 digit numbers include a two digit minute component; 2 or 1 digit numbers do not. - eric -- 04/20/2000 ericm - foundin initialized to: "obsolete: 8.3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "48. Number Handling"
- title initialized to: "clock scan fails with certain times"
- type initialized to: "Bug"
Ticket change [ff85d98ef7] (rid 108767) by dgp on 2001-02-08 13:46:44:
- assignee changed to: "kennykb"
- subsystem changed to: "06. Time Measurement"
Ticket change [83755fe7d0] (rid 117383) by kennykb on 2001-02-17 03:03:34:
- icomment:
"Arthur.Taylor" <[email protected]> reports the same problem.
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"
- icomment:
Ticket change [be69102ebb] (rid 102069) by kennykb on 2004-08-19 21:12:36:
- closedate changed to: "2004-08-19T14:12:36"
- closer changed to: "kennykb"
- icomment:
Logged In: YES user_id=99768 Free-format scan is deprecated in 8.5 in favor of fixed-format scan. Scanning with a fixed format eliminates the many ambiguities associated with numbers (a four digit number can be a time of day, a time zone offset, a quantity, or a year). Given the deprecation of free format, this bug is unlikely to be fixed.
- login: "kennykb"
- mimetype: "text/plain"
- resolution changed to: "Wont Fix"
- status changed to: "Closed"
- username: "kennykb"