[Zope] DateTime again.

2005-10-17 Thread Fernando Lujan
Is it possible to informe the DateTime module about the date format without changing the zope.conf file? Format: dd/mm/ When I try the dtml-var DateTime(12/11/2005) it returns 2005/12/11 instead of 2005/11/12. Thanks in Advance. Fernando Lujan

Re: [Zope] DateTime again.

2005-10-17 Thread Peter Bengtsson
Try: dtml-var DateTime('12/11/2005').strftime('%Y/%m/%d') 2005/10/17, Fernando Lujan [EMAIL PROTECTED]: Is it possible to informe the DateTime module about the date format without changing the zope.conf file? Format: dd/mm/ When I try the dtml-var DateTime(12/11/2005) it returns

Re: [Zope] DateTime again.

2005-10-17 Thread Andreas Jung
Look at the DateTime API (strftime()). -aj --On 17. Oktober 2005 18:33:31 -0200 Fernando Lujan [EMAIL PROTECTED] wrote: Is it possible to informe the DateTime module about the date format without changing the zope.conf file? Format: dd/mm/ When I try the dtml-var DateTime(12/11/2005)