Skip to content

Commit

Permalink
wording between select_second, select_minute and
Browse files Browse the repository at this point in the history
select_hour should be consistent and correct
  • Loading branch information
raybaxter committed Jul 17, 2011
1 parent f0a58db commit 5c71a4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actionpack/lib/action_view/helpers/date_helper.rb
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5c71a4e

Please sign in to comment.