Em Terça 30 Maio 2006 17:26, Ivo Looser escreveu:
> Hi Together
>
> class NewsFields(widgets.WidgetsList):
>     def __init__(self, **kw):
>         super(NewsFields, self).__init__(**kw)
>
>     date = widgets.CalendarDatePicker(label='Datum:',
> validator=validators.DateConverter)

(...)

> Invalid: expected an date/time string of the '%Y-%m-%d' format in the
> DateTimeCol 'date', got <type 'unicode'> u'2006-05-30 22:05:00'
> instead

Loose the validator.  It isn't needed in this case.

-- 
Jorge Godoy      <[EMAIL PROTECTED]>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to