On Fri, Jul 23, 2010 at 3:08 PM, storitel <[email protected]> wrote: > it seems that if i select 31st Sept as a date in a hobo app field it > triggers an exception, rather than a "please enter a valid date". > > obviously this suggests rails and/or ruby understands that there are > only 30 days in September at some level - but i don't understand why > it throws an exception, rather than rounding it to the nearest valid > date.
I've run across this before, even in plain Rails. However, the last time I looked at this date_select was still generating the old-style 1i,2i,3i fields instead of the current behavior. Oddly enough, datetime fields don't have this problem - trying to put a date of "February 31" into a datetime field just gets me back March 3... --Matt Jones -- You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en.
