Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2019-03-28
21:51 • New ticket [c03621bf9b] clock scan this modifier, again. artifact: 0cd3fcb974 user: andy
2004-08-19
20:56 • Closed ticket [600832ffff]: clock scan 'this' modifier plus 7 othe... artifact: db25b8847e user: kennykb
2003-02-25
16:26 • Ticket [600832ffff]: 1 change artifact: 137b8be598 user: dkf
2002-08-28
15:30 • Ticket [600832ffff]: 4 changes artifact: 520a19f453 user: dkf
2002-08-27
14:55 • New ticket [600832ffff]. artifact: 6190dfdfea user: glennjnn

[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.