22 Apr
2009
22 Apr
'09
10:06 p.m.
'item.fetcha' is what kind of instance? DateTime? datetime?
How to reproduce the behavior?
We need something that works on any system.
I don't know what type is. How can know? <tr tal:repeat="item container/getData"> <td tal:content="python: item.fecha.strftime('%d-%m-%Y');">09-01-2009</td> <td tal:content="item/fecha">2009/01/10</td> </tr> getData is a zsql method what connect to postgresql using zpsycopgda 2.0 conecction with enconding utf-8 serializable (with zope internal datetime option enabled and disabled) and not work :( This problem happen too with ms sql server 2000 with zpyodbc. Using %d break the day.