Friday, July 17, 2009

How to format date in US format in Rails

ActiveSupport::CoreExtensions::Date::Conversions::DATE_FORMATS[:default]='%m/%d/%Y'

No comments:

Post a Comment