Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-05
06:56 • Ticket [218362ffff] Clock Scan doesn't convert format "Oct 1 1999&a... artifact: 666f000ada user: dgp
2000-10-26
08:20 • Closed ticket [218362ffff]. artifact: 0da5ae6928 user: welch
00:56 • New ticket [218362ffff]. artifact: f373bcea94 user: nobody

Clock Scan doesn't convert format "Oct 1 1999" when date is

Closed / Fixed218362ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:56:43
OriginalBugID: 4183 Bug
Version: 8.3
SubmitDate: '2000-02-15'
LastModified: '2000-02-25'
Severity: LOW
Status: Closed
Submitter: shawn
ChangedBy: hobbs
OS: Windows NT
FixedDate: '2000-10-25'
ClosedDate: '2000-02-25'


Clock Scan doesn't convert format "Oct 1 1999" when date is 1999, but woork if date is 2000 

start wish83 on windows nt and enter the following 

% info patchlevel 
8.3.0

% clock scan "1 Oct 1999"
938761200

% clock scan "Oct 1 1999"
unable to convert date-time string "Oct 1 1999"
% clock scan "Feb 12 1999"
unable to convert date-time string "Feb 12 1999"
% clock scan "Feb 12 2000" 
950414400
% clock scan "Oct 1 2000"
970455600
%



This is the correct behavior.  "Oct 1 2000" is really "Oct 1 20:00"
(or this October 1st at 8pm).  19:99 is obviously not a correct HH:MM.
This is as doc'ed.  You need "Oct 1, 1999" or "Oct 1, 2000" to get
what you really want. 
-- 02/25/2000 hobbs
welch Closed ticket [218362ffff]. [History diff]2000-10-26 08:20:08
dgp Ticket [218362ffff]: 4 changes [History diff]2001-04-05 06:56:34
Log in (anonymous is fine) to add a comment.