[Zope] DateTime strftime problem

Ron Bickers rbickers-list-zope2 at logicetc.com
Mon Nov 7 12:27:05 EST 2005


On Mon November 7 2005 12:15 pm, Ron Bickers wrote:

>   dt = DateTime('2005/04/03 02:01 GMT').toZone('GMT-4')
>   '%s/%s/%s %s:%s %s' % (dt.year(), dt.month(), dt.day(),
>                          dt.hour(), dt.minute, dt.timezone())

Oops. A (hopefully obvious) typo... should be dt.minute()

-- 
Ron


More information about the Zope mailing list