#2023 [clock scan] 'this' modifier

obsolete: 8.4b1
closed-wont-fix
Kevin B KENNY
5
2004-08-19
2002-08-27
Glenn Jackman
No

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.

Discussion

    • labels: 105657 --> 06. Time Measurement
    • summary: [clock scan] "this" modifier --> [clock scan] "this" modifier
    • milestone: --> obsolete: 8.4b1
    • assigned_to: dkf --> kennykb
     
    • summary: [clock scan] "this" modifier --> [clock scan] 'this' modifier
     
  • Kevin B KENNY
    Kevin B KENNY
    2004-08-19

    • status: open --> closed-wont-fix
     
  • Kevin B KENNY
    Kevin B KENNY
    2004-08-19

    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.