Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-05
06:56 • Ticket [218920ffff] clock scan error (minutes instead of hours) status still... artifact: 22418cc632 user: dgp
2000-10-26
08:31 • Deleted ticket [218920ffff]. artifact: 8cad52af33 user: welch
01:07 • New ticket [218920ffff]. artifact: 4f0466698d user: nobody

clock scan error (minutes instead of hours)

Deleted218920ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:07:53
OriginalBugID: 2732 Bug
Version: 8.0.5
SubmitDate: '1999-09-10'
LastModified: '2000-01-10'
Severity: LOW
Status: Released
Submitter: techsupp
ChangedBy: hobbs
RelatedBugIDs: 5208
OS: AIX
OSVersion: 4.2.1
Machine: RS6000
FixedDate: '2000-01-10'
FixedInVersion: 8.3b2
ClosedDate: '2000-10-25'


Name:
Stephane Jeanjean

Comments:
According to the documentation, the format for a time specification is
    of the form: hh?:mm?:ss?? ?meridian? ?zone? or hhmm ?meridian? ?zone?.

ReproducibleScript:
% info patchlevel
    8.0.5
    % clock format [clock scan 18]
    Thu Sep 09 00:18:00 DFT 1999

DesiredBehavior:
% clock format [clock scan 18]
    Thu Sep 09 18:00:00 DFT 1999



I fixed this in tclGetDate.y.  It was a pretty straightforward; in the bit of code that handles just a number, instead of saying (pseudo-code):
minute = input;
hour = 0;

I said

minute = 0;
hour = input;

Problem solved.

- eric

-- 01/10/2000 ericm
welch Deleted ticket [218920ffff]. [History diff]2000-10-26 08:31:16
dgp Ticket [218920ffff]: 3 changes [History diff]2001-04-05 06:56:32
Log in (anonymous is fine) to add a comment.