diff options
author | Kuldeep Aggarwal <kd.engineer@yahoo.co.in> | 2013-12-10 11:52:29 +0530 |
---|---|---|
committer | Kuldeep Aggarwal <kd.engineer@yahoo.co.in> | 2013-12-10 11:52:29 +0530 |
commit | afeb7409c0619aee6005ec5feb4accdb595f4795 (patch) | |
tree | 5890cd2325219b6e7635352b66de02149ed6dd85 /activesupport/lib/active_support | |
parent | fe077b50c9ce65c4ac1cc718c34dda45cd24c6fe (diff) | |
download | rails-afeb7409c0619aee6005ec5feb4accdb595f4795.tar.gz rails-afeb7409c0619aee6005ec5feb4accdb595f4795.tar.bz2 rails-afeb7409c0619aee6005ec5feb4accdb595f4795.zip |
fixed typo mistake time_formats.rb -> date_formats.rb [ci skip]
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/core_ext/date/conversions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/date/conversions.rb b/activesupport/lib/active_support/core_ext/date/conversions.rb index 6bc8f12176..0a3bbe72f0 100644 --- a/activesupport/lib/active_support/core_ext/date/conversions.rb +++ b/activesupport/lib/active_support/core_ext/date/conversions.rb @@ -42,7 +42,7 @@ class Date # Use the format name as the hash key and either a strftime string # or Proc instance that takes a date argument as the value. # - # # config/initializers/time_formats.rb + # # config/initializers/date_formats.rb # Date::DATE_FORMATS[:month_and_year] = '%B %Y' # Date::DATE_FORMATS[:short_ordinal] = ->(date) { date.strftime("%B #{date.day.ordinalize}") } def to_formatted_s(format = :default) |