Skip to content

Instantly share code, notes, and snippets.

@kreas
Created September 14, 2012 04:45
Show Gist options
  • Save kreas/3719847 to your computer and use it in GitHub Desktop.
Save kreas/3719847 to your computer and use it in GitHub Desktop.
Set the default date format in Rails 3
#environment.rb
Date::DATE_FORMATS.merge!(:default => "%m/%d/%Y")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment