diff options
author | Mike Gunderloy <MikeG1@larkfarm.com> | 2009-06-05 08:26:27 -0500 |
---|---|---|
committer | Mike Gunderloy <MikeG1@larkfarm.com> | 2009-06-05 08:26:27 -0500 |
commit | ceac7203925930d5d46b3466cc432c37582f0742 (patch) | |
tree | faa486d61ce3ed0ce0c1b2212beeb2b8ca76bff8 | |
parent | d6424f05c3781c4f14e00ff3faa1da1d1c244775 (diff) | |
download | rails-ceac7203925930d5d46b3466cc432c37582f0742.tar.gz rails-ceac7203925930d5d46b3466cc432c37582f0742.tar.bz2 rails-ceac7203925930d5d46b3466cc432c37582f0742.zip |
Correct typo on add_month_numbers option (From: Sam Pohlenz <sam@sampohlenz.com>)
-rw-r--r-- | actionpack/lib/action_view/helpers/date_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/date_helper.rb b/actionpack/lib/action_view/helpers/date_helper.rb index 72fe9a3232..51b77a9521 100644 --- a/actionpack/lib/action_view/helpers/date_helper.rb +++ b/actionpack/lib/action_view/helpers/date_helper.rb @@ -114,7 +114,7 @@ module ActionView # "2" instead of "February"). # * <tt>:use_short_month</tt> - Set to true if you want to use the abbreviated month name instead of the full # name (e.g. "Feb" instead of "February"). - # * <tt>:add_month_number</tt> - Set to true if you want to show both, the month's number and name (e.g. + # * <tt>:add_month_numbers</tt> - Set to true if you want to show both, the month's number and name (e.g. # "2 - February" instead of "February"). # * <tt>:use_month_names</tt> - Set to an array with 12 month names if you want to customize month names. # Note: You can also use Rails' new i18n functionality for this. |