I don't remember that issue before Internationalization support was
added, but I could be way off. : -)

What version of Hobo and Rails are you using?

Interesting take on this:
http://www.railway.at/articles/2008/08/01/to-raise-or-not-to-raise/



On Jul 23, 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.
>
> If I enter "Fred" in an integer field I get zero, for example.
>
> Notwithstanding the above, I installed the validates_timeliness gem,
> added a valdidates_date, and expected the problem to go away....
>
> Amazingly, same result. validates_timeliness also happily lets the
> invalid_date exception occur. surely i'm not the first to hit this? is
> it because i'm in a euro timezone?

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

Reply via email to