Skip to content

Instantly share code, notes, and snippets.

@metaskills
Created June 30, 2010 13:22
Show Gist options
  • Save metaskills/458631 to your computer and use it in GitHub Desktop.
Save metaskills/458631 to your computer and use it in GitHub Desktop.
ActiveSupport::CoreExtensions::Time::Conversions::DATE_FORMATS.merge!(
:db => "%Y-%m-%dT%H:%M:%S"
)
ActiveSupport::CoreExtensions::Date::Conversions::DATE_FORMATS.merge!(
:db => "%Y%m%d"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment