Does anyone have a patch for formencode that makes DateConverter honor
date formats other than mm/dd/yyyy and dd/mm/yyyy.  From viewing the
source code, it appears those are the only two date formats
DateConverter will use regardless of what your format keyword is.

The reason I need ISO format, yyyy-mm-dd, for DateConverter is that when
using dates to generate a resultset to populate a PaginateDataGrid, the
query string for the links use iso format for the dates.  So basically,
the pagination code is generating query strings like this:

?sdate=2006-09-01&tg_paginate_limit=20&tg_paginate_no=3&edate=2007-09-01&tg_paginate_order=

which my schema chokes on because DateConverter thinks it is an invalid
date!

So I either need to make DateConverter work with paginate's format, or
make paginate use DateConverter's format in its query strings!

Anyone found a workaround for this???

Regards,
Aaron

--~--~---------~--~----~------------~-------~--~----~
 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