On Feb 9, 11:16 pm, hydrozen <[email protected]> wrote:
> I get this error message
>
> unexpected translation type: :year
>
> when using a datetime_select like this : <%=
> f.datetime_select :created_on %>
>
> is there any fix for this? globalize2 people, are you aware of this
> bug?
If you specify order it will work:
<%= f.datetime_select :created_on, :order => [:year, :month, :day]
%>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"rails-i18n" 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/rails-i18n?hl=en
-~----------~----~----~----~------~----~------~--~---