aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2015-06-09 00:12:06 +0900
committeryui-knk <spiketeika@gmail.com>2015-06-09 00:12:06 +0900
commitcbd71795bc4ac5b81c95dfc68d4b76e612433279 (patch)
tree238390544df68375751c8dfde644de023134392f /actionview
parentedea7b6f0aaec4ee5fbbfed1c77a7417afedd615 (diff)
downloadrails-cbd71795bc4ac5b81c95dfc68d4b76e612433279.tar.gz
rails-cbd71795bc4ac5b81c95dfc68d4b76e612433279.tar.bz2
rails-cbd71795bc4ac5b81c95dfc68d4b76e612433279.zip
[ci skip] Fix minutes to seconds in `select_second`
This is same type commit of https://github.com/rails/rails/pull/20463
Diffstat (limited to 'actionview')
-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..be61106649 100644
--- a/actionview/lib/action_view/helpers/date_helper.rb
+++ b/actionview/lib/action_view/helpers/date_helper.rb
@@ -464,7 +464,7 @@ module ActionView
# 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, 'second' by default.
#
- # my_time = Time.now + 16.minutes
+ # my_time = Time.now + 16.seconds
#
# # Generates a select field for seconds that defaults to the seconds for the time in my_time.
# select_second(my_time)