[Zope] Zope Dates
Andreas Jung
lists at zopyx.com
Tue May 3 07:26:03 EDT 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
'international' only affects the format for parsing dates as far as I
can recall. Using strftime() gives you full control over the output
format. Your application should not rely on the default format. If you
need a custom date output format then define it explicitly in your
application.
- -aj
Richard Harley wrote:
> Hello all
>
> Hoping there is a quick fix for this - I'm trying to change how Zope
> formats dates. I want dd/mm/yyyy but Zope is forcing yyyy-mm-dd. I've
> changed the format in zope.conf to 'international' but this makes no
> difference. I know dates can be formatted at the front end (i.e. fmt=)
> but it would be really useful to have Zope sort this out for me without
> having to do any string formatting. Any ideas?
>
> Thanks
> Richard
>
> _______________________________________________
> Zope maillist - Zope at zope.org
> https://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope-dev )
- --
ZOPYX Limited | zopyx group
Charlottenstr. 37/1 | The full-service network for Zope & Plone
D-72070 Tübingen | Produce & Publish
www.zopyx.com | www.produce-and-publish.com
- ------------------------------------------------------------------------
E-Publishing, Python, Zope & Plone development, Consulting
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQGUBAEBAgAGBQJNv+ZLAAoJEADcfz7u4AZjUBkLwKy594OzaZMRAMDZGL3nL9g0
H+jFAsQHWsEy/3UbKzo//Ogh9TgQHrEaFOAEk36/lS0iWjQ0kq7bWzreFWkzApb2
fVOWHoVwtIIcgItlxEl0zgu/XGA/rw+1cIK1yxEy45H2BHHhXP8B1CVRUpwatlrR
lIDN3KXo0vem8tOa/DGcUISbW4VFpQU63qNOKfW4+hU/HJcoFeFs+jqSWro8F2+Q
hghoSTSM5GtX9h0hksBNJaVK+0wcD59R2fQZ28QdCz+cuiTe97cG+MW9Wd+GDeq6
6bgi915KgrsSfwSZ+lGYr/FssPSiFtZk11xDJsvF0XKSw8JnxjmDvWIaT/gexVDC
iPYF9cNJXAsEXlvUZVxhr81BH9/HE/KAOh/hmDC3eg6FqqubmtjQRUp3mnvXnGwZ
LWjDm//FBv7BOtr7ftwiLPhpFPZTRh3kzANsLHkIb1o4rjeOo3L8pcQeBzQLRM8b
24b1CQOZvjBfMYgWj3yKYHggYllw1go=
=pvLD
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20110503/49424ce4/attachment.vcf
More information about the Zope
mailing list