Re: %W in the clock command
- From: Kevin Kenny <kennykb@xxxxxxx>
- Date: Sat, 31 Mar 2007 12:28:45 -0400
Uwe Klein wrote:
Donald Arseneau wrote:Eric Hassold <hassold@xxxxxxxxxxx> writes:
There was a typo in clock.tcl ($Wweeknumber instead of $WweekNumber).
Mind blowing! Obviously $Wweeknumber is a typo, but it isn't
the typo I had expected!
Let me guess: all the VarNames start with their FormatSpecifier
to make the mapping clear?
Not all. But there are three ways for calculating week
number: %V, which is what most people want (iso8601WeekNumber)
and %U and %W. Since %U and %W both calculate week numbers that
don't appear to match any external standards, I couldn't think
of more mnemonic names than UweekNumber and WweekNumber. They're
pretty obvious in context, since the cases are alphabetised:
%U, %V, %W are right in a row doing UweekNumber, iso8601weekNumber,
and WweekNumber.
--
73 de ke9tv/2, Kevin
.
- References:
- %W in the clock command
- From: sd
- Re: %W in the clock command
- From: Eric Hassold
- Re: %W in the clock command
- From: Donald Arseneau
- Re: %W in the clock command
- From: Uwe Klein
- %W in the clock command
- Prev by Date: Re: wiki
- Previous by thread: Re: %W in the clock command
- Next by thread: wiki
- Index(es):
Relevant Pages
|