[Zope3-dev] Re: SVN: Zope3/branches/3.3/ Fixed issue 525: DateWidget ru-format

Dmitry Vasiliev lists at hlabs.spb.ru
Sun Jun 25 05:02:31 EDT 2006


Benji York wrote:
> Philipp von Weitershausen wrote:
>> Dmitry Vasiliev wrote:
>>
>>> Log message for revision 68818:
>>>  Fixed issue 525: DateWidget ru-format
> 
>>> -           type="text" value="2002-12-02 12:30:00"  />
>>> +           type="text" value="2002 12 2  12:30:00 "  />
>>>
>>> Note that a EditForm can't make use of a get_rendered method. The 
>>> get_rendered
>>> method does only set initial values.
> 
>> Why does the display of the default DateTime widget change?

DatetimeWidget now use zope.i18n for parse and format values so the display is 
the same as for DatetimeDisplayWidget (note the line 1529 of the form.txt).

> ...and in such a strange way?

It's the datetime format for the default locale, see the specification in 
zope/i18n/locales/data/root.xml.

-- 
Dmitry Vasiliev (dima at hlabs.spb.ru)
     http://hlabs.spb.ru


More information about the Zope3-dev mailing list