search for: date_edit

Displaying 1 result from an estimated 1 matches for "date_edit".

Did you mean: dataedit
2006 Mar 23
5
Custom date format
Hi, I''ve followed these directions : http://railswiki.pdxruby.org/HowToDefineYourOwnDateFormat.html It seems pretty straightforward but obviously it doesn''t work for me... article.date_edited.to_formatted_s(:my_format_1) produce a default formatted date, not the one I''ve defined in environment.rb : ActiveSupport::CoreExtensions::Date::Conversions::DATE_FORMATS.merge!( :my_format_1 => ''%d/%m/%Y - %H:%M'', :my_format_2 => ''%l:%M %p, %B %d,...