[Zope] DateTime again.
Peter Bengtsson
peter at fry-it.com
Mon Oct 17 17:37:19 EDT 2005
Try:
<dtml-var "DateTime('12/11/2005').strftime('%Y/%m/%d')">
2005/10/17, Fernando Lujan <flujan at gmail.com>:
> Is it possible to informe the DateTime module about the date format
> without changing the zope.conf file?
>
> Format: dd/mm/yyyy
>
> 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
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
More information about the Zope
mailing list