Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-02-08
22:25 • Closed ticket [1118691fff]: Problem with function clock plus 7 other changes artifact: 770f21fd39 user: kennykb
15:20 • New ticket [1118691fff]. artifact: 161d72b95a user: yandres

Problem with function clock

Closed / Duplicate1118691fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2005-02-08 15:20:13
Following five commands work perfectly with Tcl 8.0 but 
have stopped working with TCL8.3 and 8.4.

set timeCurrent [clock format [clock scan seconds]]
set i 2
set twoDaysAfter [clock format [clock 
scan "$timeCurrent $i days"]]
set i -2
set twoDaysBefore [clock format [clock 
scan "$timeCurrent $i days"]]


The message of Tcl is the following:

"unable to convert date-time string "Tue Feb 08 
14:25:41 GMT 2005 -2 days"
kennykbplain2005-02-08 22:25:12
Logged In: YES 
user_id=99768

This is an exact duplicate of Bug 1118650, from the same
submitter. I'll track the problem under that report.
Log in (anonymous is fine) to add a comment.