Checkout
http://ruby-doc.org/stdlib-1.9.3/libdoc/date/rdoc/Date.html#method-c-parse
assuming you use 1.9.3, there is also #strptime

Ahmy Yulrizka


On Thu, Jan 26, 2012 at 4:55 AM, Erwin <[email protected]> wrote:

> From my form , using  jQuery Datepicker , I get dates in textfields
> already formatted as :
>
>  Parameters: { "project"=>{ "start_shooting_date"=>"Mercredi 1
> Février, 2012",  "latest_publish_date"=>"Mercredi 8 Février,
> 2012"}...}
>
> is there any way to parse and convert these dates ?
>
> there is a trick: I can store more convertible values in hidden
> textfields ... but it's a trick...
>
> thanks for your feedback
>
> erwin
>
> --
> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to