%d uses always the two digit notation for the number of the day within the month. Because strftime() is build on top of strftime() of libc there is maybe no way to influence this behaviour. It could be possible to influence the behaviour by setting the LC_TIME env. variable but I have not found any documentation how it will affect the strftime functionality. Andreas ----- Original Message ----- From: "Dan Shafer" <dan@gui.com> To: <zope@zope.org> Sent: Wednesday, January 02, 2002 18:39 Subject: [Zope] Date Formatting Oddity
The strftime() parameters seem to allow for just about every conceivable time and date output format one could imagine. Except the one I need.
Is there a format string or some other method I'm overlooking for suppressing zeros on dates from 1-9? January 02, 2002, just doesn't look right. -- Dan Shafer, Author-Consultant http://www.danshafer.com http://www.shafermedia.com
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )