Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6263d0a915eb69c1130c205084710da559f45380541fc328832baa09ea46a466
Ticket: cd25761979da7be2861f124c41956cb0f9945ca4
clock command - "now" vs "-now"
User & Date: oehhar on 2024-07-25 12:52:45
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    Ashok wrote the following message on the core list:
    
    <verbatim>
    % clock scan now
    1721803544
    % clock format now
    bad seconds "now": must be -now or integer
    % clock format -now
    </verbatim>
    
    The above seems incongruous to me, why -now for format and “now” for scan?
    
    Afaict, “-now” is really a value, not an option. And unlike options, it cannot appear at arbitrary points in the command, only in place of the time value.
    
    Is there a rationale for the difference? If no, is it too late to change for 9.0? If too late for compatibility reasons, can clock format and clock add treat “now” and “-now” as synonyms with latter deprecated? (With a TIP of course)
    
  5. foundin changed to: "main"
  6. is_private changed to: "0"
  7. login: "oehhar"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "oehhar"
  14. subsystem changed to: "16. Commands A-H"
  15. title changed to: "clock command - "now" vs "-now""
  16. type changed to: "Bug"