On Nov 11, 2:45 am, Rafael Mendonça França <
rafaelmfra...@gmail.com>
wrote:
No, that doesn't help for this date field in the SimpleForm. Maybe I
should restate the question. For nomal date fields I use the standard
Rails i18n localize mechanism way like so:
<%= l @company_visit.finalization_date %></p>
How do you apply the localize function in a SimpleForm date field like
this?
<%= f.input :visit_date, :label => 'Besøksdato', :as
=> :string, :input_html => { :class => 'date_picker', :size => 10 }
%>
Btw. I'm quite new to Ruby/Rails, so I apologize if this is a silly
question.
-Per