This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients Esben.Agerbæk.Black, belopolsky, lemburg, pitrou, vstinner
Date 2012-04-09.22:20:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <4F8360A5.7090106@egenix.com>
In-reply-to <1334008213.67.0.732587422156.issue14423@psf.upfronthosting.co.za>
Content
Alexander Belopolsky wrote:
> 
> Alexander Belopolsky <alexander.belopolsky@gmail.com> added the comment:
> 
> Before you invest in a C version, let's discuss whether this feature is desirable.  The proposed function implements a very simple and not very common calculation.  Note that even dateutil does not provide direct support for this: you are instructed to use relativedelta to add weeks to January 1st of the given year.

Which is wrong, since the start of the first ISO week of a year
can in fact start in the preceeding year...

http://en.wikipedia.org/wiki/ISO_week_date

and it's not a simple calculation.

ISO weeks are in common use throughout Europe, it's part of the
ISO 8601 standard. mxDateTime has had such constructors for ages:

http://www.egenix.com/products/python/mxBase/mxDateTime/doc/#_Toc293683820
History
Date User Action Args
2012-04-09 22:20:25lemburgsetrecipients: + lemburg, belopolsky, pitrou, vstinner, Esben.Agerbæk.Black
2012-04-09 22:20:25lemburglinkissue14423 messages
2012-04-09 22:20:24lemburgcreate