1 May
2006
1 May
'06
5:33 p.m.
On 5/1/06, Jonas Nielsen <jonasn@mail.tele.dk> wrote:
DateTime().strftime("%U") converts from date to week no.
Is it possible to convert from (week,year,weekday) to a specific date in a python script in zope ?
I could install the mx.DateTime module in python and then make a product with a method that used ISO.Week() but is there a more straight forward approach ?
Well, steal some code from http://svn.nuxeo.org/trac/pub/file/CalCore/trunk/src/calcore/isoweek.py maybe? -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/