aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2015-06-07 21:56:26 +0900
committeryui-knk <spiketeika@gmail.com>2015-06-07 21:56:26 +0900
commit4071caad2a8e352cd67dd43ae80d1d9bd1bd5ac3 (patch)
tree44e2e075074042c814074390152b6c2e99a9f10d /actionview/lib
parent27eccc27cbe987be04bb97b49aff1d7fd118634c (diff)
downloadrails-4071caad2a8e352cd67dd43ae80d1d9bd1bd5ac3.tar.gz
rails-4071caad2a8e352cd67dd43ae80d1d9bd1bd5ac3.tar.bz2
rails-4071caad2a8e352cd67dd43ae80d1d9bd1bd5ac3.zip
[ci skip] Fix hours to minutes in `select_minute`
Diffstat (limited to 'actionview/lib')
-rw-r--r--actionview/lib/action_view/helpers/date_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/date_helper.rb b/actionview/lib/action_view/helpers/date_helper.rb
index 46ce7cf0be..394e20ff2b 100644
--- a/actionview/lib/action_view/helpers/date_helper.rb
+++ b/actionview/lib/action_view/helpers/date_helper.rb
@@ -488,7 +488,7 @@ module ActionView
# selected. The <tt>datetime</tt> can be either a +Time+ or +DateTime+ object or an integer.
# Override the field name using the <tt>:field_name</tt> option, 'minute' by default.
#
- # my_time = Time.now + 6.hours
+ # my_time = Time.now + 10.minutes
#
# # Generates a select field for minutes that defaults to the minutes for the time in my_time.
# select_minute(my_time)