Overview
| Artifact ID: | 3d88d36afdd598cb3583fa120b0bf960bbcde665 |
|---|---|
| Ticket: | 2010909fffffffffffffffffffffffffffffffff
clock scan fails with %V |
| User & Date: | haertel on 2008-07-04 19:54:12 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
The clock scan command returns always the current week when the given format only contains the week (%V). test-case showing failure for {set week 0} {$week < 22} {incr week} { set x [clock scan "$week 2008" -format "%V %Y"] puts [clock format $x] } However it works correctly when a week day is supplied. test-case workaround for {set week 0} {$week < 22} {incr week} { set x [clock scan "$week Sun" -format "%V %A"] puts [clock format $x] } This could be a fix in the code. In that it assumes the current day. Or this could be a fix in the documentation. In that it is clearly stated that for the scan and format %V the week day shall be supplied to. From my point of view I'd prefer a fix in the code. Primarily because clock already assumes in the workaround that the year is the current year. - foundin changed to: "obsolete: 8.5.3"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "haertel"
- subsystem changed to: "None"
- title changed to: "clock scan fails with %V"
- type changed to: "RFE"