Permalink
Browse files

wording between select_second, select_minute and

select_hour should be consistent and correct
  • Loading branch information...
1 parent f0a58db commit 5c71a4e76897844ab6aeabb581549d981d9768c9 @raybaxter raybaxter committed Jul 17, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_view/helpers/date_helper.rb
@@ -448,7 +448,7 @@ def select_second(datetime, options = {}, html_options = {})
# Returns a select tag with options for each of the minutes 0 through 59 with the current minute selected.
# Also can return a select tag with options by <tt>minute_step</tt> from 0 through 59 with the 00 minute
- # selected. The <tt>minute</tt> can also be substituted for a minute number.
+ # selected. The <tt>date</tt> can also be substituted for a minute number.
# Override the field name using the <tt>:field_name</tt> option, 'minute' by default.
#
# ==== Examples
@@ -473,7 +473,7 @@ def select_minute(datetime, options = {}, html_options = {})
end
# Returns a select tag with options for each of the hours 0 through 23 with the current hour selected.
- # The <tt>hour</tt> can also be substituted for a hour number.
+ # The <tt>date</tt> can also be substituted for a hour number.
# Override the field name using the <tt>:field_name</tt> option, 'hour' by default.
#
# ==== Examples

0 comments on commit 5c71a4e

Please sign in to comment.