That''s currently a known issue of the DateHelper.rb library. You can
find a
patch for this and many other issues where. Both EdgeRails and 1.0 diffs are
available.
http://dev.rubyonrails.org/ticket/3811
Bob Silva
http://www.railtie.net/
> -----Original Message-----
> From: rails-bounces@lists.rubyonrails.org [mailto:rails-
> bounces@lists.rubyonrails.org] On Behalf Of dave davidson
> Sent: Wednesday, February 22, 2006 1:37 PM
> To: rails@lists.rubyonrails.org
> Subject: [Rails] specifying m/d/y order in datetime_select
>
> the date_select form helper has a neat little feature which lets you
> specify
> the order of the month/day/year that is displayed on the form via the
> :order
> parameter. i.e.
>
> <%= date_select ''blah'', ''somedate'',
:order=>[ :month, :day, :year ] %>
>
> however, i don''t see a similar option for datetime_select.
passing
> an :order parameter is happily ignored by the method. i would assume this
> is
> the case because either :order needs more parameters (:hour, :minute
don''t
> work) or it is not parsed in a datetime_select context.
>
> so, is this ordering available in datetime_select?
>
> thanks!
>
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails