Skip to content

Commit

Permalink
use 'hour' instead of 'minutes' and 'second' for select_hour
Browse files Browse the repository at this point in the history
  • Loading branch information
raybaxter committed Jul 17, 2011
1 parent bae54c5 commit 5dd8277
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 @@ -485,8 +485,8 @@ def select_minute(datetime, options = {}, html_options = {})
# # Generates a select field for hours that defaults to the number given.
# select_hour(13)
#
# # Generates a select field for hours that defaults to the minutes for the time in my_time
# # that is named 'stride' rather than 'second'.
# # Generates a select field for hours that defaults to the hour for the time in my_time
# # that is named 'stride' rather than 'hour'.
# select_hour(my_time, :field_name => 'stride')
#
# # Generates a select field for hours with a custom prompt. Use <tt>:prompt => true</tt> for a
Expand Down

0 comments on commit 5dd8277

Please sign in to comment.