search for: msc_short

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

Did you mean: is_short
2007 Nov 02
0
DATE_FORMATS and functional tests
I have the following in my environments.rb file: my_formats = { :msc => ''%d %b %Y %I:%M %p'', :msc_short => ''%d %b %Y'' } ActiveSupport::CoreExtensions::Time::Conversions::DATE_FORMATS.merge! (my_formats) ActiveSupport::CoreExtensions::Date::Conversions::DATE_FORMATS.merge! (my_formats) With this, things like ''invite.created_at.to_s(:msc_short)'' work perfectly in...