[Zope] Problem with strftime.
Jason C. Leach
jason.leach at gmail.com
Thu Oct 13 17:46:26 EDT 2005
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?
Zope Version
(Zope 2.8.1-final, python 2.4.0, freebsd5)
Python Version
2.4 (#2, Aug 25 2005, 15:17:08) [GCC 3.4.2 [FreeBSD] 20040728]
Thanks,
Jason.
--
........................................
.... Jason C. Leach
.... PGP Key: 0x62DDDF75
.... Keyserver: gpg.mit.edu
More information about the Zope
mailing list