clock scan incorrectly generates error
Closed / Duplicate217985ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:47:10
OriginalBugID: 6106 Bug
Version: 8.3.1
SubmitDate: '2000-08-09'
LastModified: '2000-08-10'
Severity: SER
Status: Closed
Submitter: techsupp
ChangedBy: ericm
RelatedBugIDs: 5208
OS: Solaris
OSVersion: 2.6
Machine: Ultra 5
FixedDate: '2000-08-10'
ClosedDate: '2000-10-25'
Name:
Larry W. Virden
CVS:
Aug 4, 200 1:00 PM EDT
Extensions:
None
CustomShell:
None
ReproducibleScript:
clock scan "20000804 0051"
ObservedBehavior:
unable to convert date-time string "20000804 0051"
while evaluating {clock scan "20000804 0051"}
DesiredBehavior:
I expect to see the year, month, day, hour and minute scanned, as documented
in the man page.
The problem is not with the combination of the 8-digit date and the 4 digit time, but rather with the particular 4-digit time used:
% clock scan "20000804 1020"
965409600
% clock scan "0051"
unable to convert date-time string "0051"
This makes it a duplicate of report #5208, which includes a more detailed evaluation of the problem and the fix required.
Eric Melski The Other Tcl Guy
ericm at ajubasolutions.com Ajuba Solutions
-- 08/10/2000 ericm
welch Closed ticket [217985ffff].
[History diff]2000-10-26 08:12:10
dgp Ticket [217985ffff]: 4 changes
[History diff]2001-04-14 03:20:32
Log in (anonymous is fine) to add a comment.