search for: use_short_month

Displaying 3 results from an estimated 3 matches for "use_short_month".

2008 Jun 26
2
Problem with date_select after Rails 2.1 upgrade
...calls are bombing on me with the exception: ---- ActionView::TemplateError (wrong number of arguments (3 for 2)) on line #8 of entries/_dates_form.haml: 8: = date_select( ''context'', ''start_date'', {:start_year => 2007, :order => [:month, :day, :year], :use_short_month => true, :include_blank => false}) vendor/rails/actionpack/lib/action_view/helpers/date_helper.rb: 655:in `select_year'' vendor/rails/actionpack/lib/action_view/helpers/date_helper.rb: 655:in `send'' vendor/rails/actionpack/lib/action_view/helpers/date_helper.rb:...
2007 Jun 03
0
Possible to get month names as values when using date:select
...ng on a project where a user will be entering a date from a form, and that date will be compared to a date that''s being pulled from an RSS feed. The RSS feed date format is 03 Jun 2007 so I was hoping to get my form date to use the same format. When I use <%= f.date_select :thedate, :use_short_month => true %> on my form, the presentation to the user on the form shows Jun but the value is 6. Is there some way to get the form to show the values as the abbreviated month name as well? Or is there another way someone could suggest that I easily compare the 03 Jun 2007 format date to the 20...
2008 Jun 09
3
Rails 2.1 and ddatetime_select
I''ve updated to 2.1 and am continuing to have issues with datetime_select helpers which worked fine previously. Example: <% form_remote_tag(:url => { :controller => ''notes'', :action => :add_booking_note_ajax, :id => @booking},