Feature Requests item #1277715, was opened at 2005-08-31 21:05
Message generated for change (Settings changed) made by dkf
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=360894&aid=1277715&group_id=10894
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: 06. Time Measurement
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Kai Aho (kaitzschu)
>Assigned to: Kevin B KENNY (kennykb)
Summary: [clock add] to assume current time
Initial Comment:
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.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=360894&aid=1277715&group_id=10894