Hi Everyone,

I'm using I18n in my rails app and I'm very pleased about it. However,
I'm now having problems posting Date objects to the database. The
problem is that in my text field the date is represented in Dutch. So
for example:

I have a text field: <%= f.calender_date_select: date_attended %>
Where I fill in a date like: 26 oktober 2009

Now the database won't recognize this, and that's probably because
he's posting a foreign language to the database which he doesn't
understand. I'm guessing I should translate each month somewhere (in
the model??) like this:

Januari => January
Februari => Februari
Maart => March

etc.. etc..

Any suggestions??

Many thanks in advance.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to