[Zope] Problem with strftime.

Andreas Jung lists at andreas-jung.com
Fri Oct 14 01:47:35 EDT 2005



--On 13. Oktober 2005 14:46:26 -0700 "Jason C. Leach" 
<jason.leach at gmail.com> wrote:

> Hi:
>
> If I use this line in a Python script:
>    print row['end_date'], row['end_date'].strftime('%d')
> I get:
>    2005/10/13 12
>
> You can see the day is out by one. Should be 13, but is gets converted
> as 12.  So I'm curious what's up with that?
>
Provide a detailed description how to reproduce that...especially what type 
is  row[‘end_date‘]? Where is it coming from?

-aj

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20051014/aa4154cc/attachment.bin


More information about the Zope mailing list