aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authoryachibit <y.yachix@gmail.com>2015-01-25 14:30:03 +0900
committeryachibit <y.yachix@gmail.com>2015-01-25 14:30:03 +0900
commitd8bf32231e3eba5b43fd1fd55789cce2bf66d8db (patch)
tree06b2fd8401df3402563f977f353a5879eff6ea5b /actionview
parent3327cd3f61a22a5834dcbf9bd24ecbc3a23de3de (diff)
downloadrails-d8bf32231e3eba5b43fd1fd55789cce2bf66d8db.tar.gz
rails-d8bf32231e3eba5b43fd1fd55789cce2bf66d8db.tar.bz2
rails-d8bf32231e3eba5b43fd1fd55789cce2bf66d8db.zip
Add missing options to `datetime_select` [ci skip]
Diffstat (limited to 'actionview')
-rw-r--r--actionview/lib/action_view/helpers/date_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/actionview/lib/action_view/helpers/date_helper.rb b/actionview/lib/action_view/helpers/date_helper.rb
index 4b4f0ae577..46ce7cf0be 100644
--- a/actionview/lib/action_view/helpers/date_helper.rb
+++ b/actionview/lib/action_view/helpers/date_helper.rb
@@ -177,6 +177,8 @@ module ActionView
# and +:name+ (string). A format string would be something like "%{name} (%<number>02d)" for example.
# See <tt>Kernel.sprintf</tt> for documentation on format sequences.
# * <tt>:date_separator</tt> - Specifies a string to separate the date fields. Default is "" (i.e. nothing).
+ # * <tt>:time_separator</tt> - Specifies a string to separate the time fields. Default is "" (i.e. nothing).
+ # * <tt>:datetime_separator</tt>- Specifies a string to separate the date and time fields. Default is "" (i.e. nothing).
# * <tt>:start_year</tt> - Set the start year for the year select. Default is <tt>Date.today.year - 5</tt> if
# you are creating new record. While editing existing record, <tt>:start_year</tt> defaults to
# the current selected year minus 5.