--On 4. März 2007 15:57:44 +0000 Garry Saddington <[EMAIL PROTECTED]> wrote:
On Sunday 04 March 2007 13:32, Andreas Jung wrote:--On 4. März 2007 12:45:20 +0000 Garry Saddington <[EMAIL PROTECTED]> wrote: > I have 'datetime-format international' set in zope.conf but the date > output is still rendered in the format (y,m,d) Reading helps..Yes, indeed it does, how did you suppose I knew how to set the format in the first place.
DateTime has a documentation and there is strftime() method to provide support for custom format. The *string* representation of a DateTIme instance as returned through the __str__() is unlikely a good choice for application level usage. -aj
pgp897ZryeQHe.pgp
Description: PGP signature
_______________________________________________ Zope maillist - [email protected] 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 )
