[Zope3-Users] Custom DateWidget with Month/Day/Year
FB
fbo2 at gmx.net
Tue Oct 17 07:46:52 EDT 2006
Hi,
On Mon, Oct 16, 2006 at 05:46:29PM +0200, Thierry Florac wrote:
[snip]
> Installation is fine, as well as widget, but I can't get dates displayed
> or entered in a french way (DD/MM/YYYY).
> I've tried to modify browser settings as well as a few parameters, but
> nothing is doing it correctly (and when date is displayed correctly in a
> form, Zope 'normally' says that dates are not correctly formatted while
> submitting !).
Hmm ... it took me 10 seconds to change the format to DD/MM/YYYYY.
Have a look at datetimewidget.py, look for '_format' .
Regards,
Frank
More information about the Zope3-users
mailing list