Are you using something like this for your widget definition? You
would just have to modify it to support datetime. I prefer to separate
the date and time into two seperate fields but here is something that
might be useful to you.

DOB = widgets.CalendarDatePicker(format = '%Y/%m/%d',validator =
validators.DateTimeConverter(format="%Y/%m/%d"))

Lucas

On Jan 14, 2008 9:37 PM, alex bodnaru <[EMAIL PROTECTED]> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> hi friends,
>
> should i do anything special in order to prepare a date/datetime field
> for editing?
>
> if i just commit such a form, i'm constantly getting "Invalid datetime
> format" exception.
>
> tia,

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to