Skip to content
Tcl Source Code View Ticket
Login

View Ticket

[clock scan] 'this' modifier

Closed / Wont Fix600832ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 22 years ago
Descriptionplain2002-08-27 14:55:28
This might just be fixable by removing the "this" 
modifier from the [clock] man page, but I can't see a 
category for documentation.

% clock scan 
"monday last week"
1030334400
% clock scan 
"monday next week"
1031544000
% clock scan 
"monday this week"
unable to convert date-time 
string "monday this week"

observed in Tcls 8.0.3 
(solaris 7), 8.3.3 (solaris 8), 8.4b1 
(win2k)

Simplest solution:  remove the "this" 
modifier from the man page.
dkf Ticket [600832ffff]: 4 changes [History diff]2002-08-28 15:30:25
dkf Ticket [600832ffff]: 1 change [History diff]2003-02-25 16:26:55
kennykbplain2004-08-19 20:56:27
Logged In: YES 
user_id=99768

The real solution is to deprecate that version of
[clock scan] entirely; instead, use a [clock add]
function to do date and time arithmetic.

Which has been done in 8.5.
Log in (anonymous is fine) to add a comment.