%V [forwarded]

Arthur David Olson ado
Mon Feb 28 13:57:57 UTC 1994


> From arnold at skeeve.atl.ga.us Sat Feb 26 21:12:21 1994
> Received: from emory.mathcs.emory.edu by elsie.nci.nih.gov (4.1/SMI-4.1)
> 	id AA18459; Sat, 26 Feb 94 21:12:18 EST
> Received: from skeeve.UUCP by
> 	emory.mathcs.emory.edu (5.65/Emory_mathcs.3.4.19) via UUCP
> 	id AA09626 ; Sat, 26 Feb 94 21:12:14 -0500
> Return-Path: arnold at skeeve.atl.ga.us
> Received: by skeeve.atl.ga.us (/\==/\ Smail3.1.22.1 #22.1)
> 	id <m0paal5-00013rC at skeeve.atl.ga.us>; Sat, 26 Feb 94 20:57 EST
> Message-Id: <m0paal5-00013rC at skeeve.atl.ga.us>
> From: arnold at skeeve.atl.ga.us
> Date: Sat, 26 Feb 1994 20:57:26 -0500
> X-Ultrix: Just Say NO!
> X-Important-Saying: Premature Optimization Is The Root Of All Evil.
> X-Mailer: Mail User's Shell (7.2.5 10/14/92)
> To: ado at elsie.nci.nih.gov
> Subject: any comment on this?
> Status: RO
> 
> --- Forwarded mail from Tor Lillqvist <emory!tik.vtt.fi!tml>
> 
> >From emory!tik.vtt.fi!tml Wed Feb 23 08:12:20 1994
> Return-Path: <emory!tik.vtt.fi!tml>
> Received: by skeeve.atl.ga.us (/\==/\ Smail3.1.22.1 #22.1)
> 	id <m0pZJNz-00013zC at skeeve.atl.ga.us>; Wed, 23 Feb 94 08:12 EST
> Received: from tiuhti.tik.vtt.fi by
> 	emory.mathcs.emory.edu (5.65/Emory_mathcs.3.4.19) via SMTP
> 	id AA26972 ; Wed, 23 Feb 94 08:07:40 -0500
> Received: from localhost (tml at localhost) by tiuhti.tik.vtt.fi (8.6.5/8.6.5) id PAA28498; Wed, 23 Feb 1994 15:07:33 +0200
> Date: Wed, 23 Feb 1994 15:07:33 +0200
> From: Tor Lillqvist <emory!tik.vtt.fi!tml>
> Message-Id: <199402231307.PAA28498 at tiuhti.tik.vtt.fi>
> To: arnold at skeeve.atl.ga.us (Arnold Robbins)
> In-Reply-To: arnold at skeeve.atl.ga.us's message of 22 Feb 1994 17:21:29 -0800
> Subject: v27i207: strftime-6.0 - yet another strftime(3) and date(1), Part01/01
> Mime-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> 
> >>>>> On 22 Feb 1994 17:21:29 -0800, arnold at skeeve.atl.ga.us (Arnold Robbins) said:
> 	> (to wit: if the week containing January 1 has four or more
> 	> days in the new year, then it is week 1, otherwise it is
> 	> week 53 of the previous year and the next week is week 1).
> 
> Nope, it can also be week 52 of the previous year. For instance this
> year's (1994) January 1st an 2nd were in week 52 of 1993. "The highest
> numbered week of the previous year (52 or 53)" would be more correct.
> 
> I guess you really need a format character for "what year does the
> week number output by %V refer to", also.  Otherwise it's hard to find
> any good use for the %V format in a program or script.  If, for
> instance, you use `date +%V` to form the name of a weekly log file
> accumulated daily, then the logging from January 1 and 2 in 1994
> should go to the log file for week 52 of 1993, not to the log file for
> week 52 of 1994...
> 
> 
> --- End of forwarded message from Tor Lillqvist <emory!tik.vtt.fi!tml>



More information about the tz mailing list