Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0cd3fcb9743461aa12983a0ec7931ca8996c17577492d54668da4503f1fb7c1c
Ticket: c03621bf9b262f8c97fe4fbfc077ac8e1b2b7a82
[clock scan] this modifier, again
User & Date: andy on 2019-03-28 21:51:25
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    The [clock scan] "this" modifier does not work because the lexer strips off the "s" at the end, thinking it's plural.  Writing "thiss" restores its functionality, but the code suggests it behaves identically to "now", so it never needed to exist in the first place.
    
    Therefore, I conclude that no working program has ever used the "this" modifier, and no future program ever will need it, not as currently defined anyway.
    
    Thus, we should be free to remove it from the documentation, even go so far as to remove the implementation too by dropping it from OtherTable.  Either that or explicitly document that "thiss" is the same as "now", but then we'll be well and truly stuck with it.
    
    Background: I decided to investigate while trying to figure out how to get the start of the current day.  "tomorrow" and "yesterday" give the starts of the next and previous days, but "today" gives the current time.  I was hoping "this day" might do the trick, but nope.  "thiss day" works the same as "tomorrow" ("now day" does too).  Looks like I need a different solution.
    
    This has been discussed before ([600832]) and was marked Won't Fix.  Maybe we should revisit this decision.
    
  5. foundin changed to: "8.6.9"
  6. is_private changed to: "0"
  7. login: "andy"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "662c23482b0bf6a505f39e48fb7ad43af8dee4d3"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "andy"
  14. subsystem changed to: "06. Time Measurement"
  15. title changed to: "[clock scan] this modifier, again"
  16. type changed to: "Bug"