From d8bf32231e3eba5b43fd1fd55789cce2bf66d8db Mon Sep 17 00:00:00 2001 From: yachibit Date: Sun, 25 Jan 2015 14:30:03 +0900 Subject: Add missing options to `datetime_select` [ci skip] --- actionview/lib/action_view/helpers/date_helper.rb | 2 ++ 1 file changed, 2 insertions(+) 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} (%02d)" for example. # See Kernel.sprintf for documentation on format sequences. # * :date_separator - Specifies a string to separate the date fields. Default is "" (i.e. nothing). + # * :time_separator - Specifies a string to separate the time fields. Default is "" (i.e. nothing). + # * :datetime_separator- Specifies a string to separate the date and time fields. Default is "" (i.e. nothing). # * :start_year - Set the start year for the year select. Default is Date.today.year - 5 if # you are creating new record. While editing existing record, :start_year defaults to # the current selected year minus 5. -- cgit v1.2.3