Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 38cbbc37cb3663478f4e9fda93c44fb14896ee9c
Ticket: 1277715fffffffffffffffffffffffffffffffff
[clock add] to assume current time
User & Date: kaitzschu on 2005-08-31 20:05:29
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Currently (8.5) when one wants to format a specific time other than "now" one has to write
    
    clock format [clock add [clock seconds]]
    
    Clock clock clock doesn't look very attractive.
    
    Because tcl::clock::add already does a check on [llength args] % 2 it wouldn't be such a great hassle.
    If uneven number of parameters is given, just
    
    set args [lassign $args clockVal]
    
    instead of erroring out, otherwise set clockVal to [clock seconds]. Would spare poor programmers brain to avoid clock clock clock, wouldn't it.
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "kaitzschu"
  9. subsystem changed to: "16. Commands A-H"
  10. title changed to: "[clock add] to assume current time"
  11. type changed to: "RFE"