On Fri, Jan 9, 2009 at 18:57, Ian Bicking <ianb@???> wrote:
> Michael van Tellingen wrote:
>
>> Hello everyone,
>>
>> I always use the DateConverter for validating dates in my formencode
>> schemas. However i've recently tried upgrading to
>> formencode 1.2 but unfortunatly it doesn't support dashes as separators
>> anymore.
>>
>> To summarize; the following did work in 1.1 but doesn't in 1.2:
>> validators.DateConverter(month_style='dd-mm-yyyy')
>>
>
> It actually allows / or - as separators, these two strings are just
> indications of which month style you want (before I think it'd treat
> dd-mm-yyyy and mm-dd-yyyy identically).
>
Ok, I actually just assumed that it was required to use the slash as
separator in the new version. My bad ;-)
Thanks,
Michael
>
> --
> Ian Bicking : ianb@??? : http://blog.ianbicking.org
>
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB_______________________________________________
FormEncode-discuss mailing list
FormEncode-discuss@???
https://lists.sourceforge.net/lists/listinfo/formencode-discuss