diff options
author | yachibit <y.yachix@gmail.com> | 2015-01-25 14:30:03 +0900 |
---|---|---|
committer | yachibit <y.yachix@gmail.com> | 2015-01-25 14:30:03 +0900 |
commit | d8bf32231e3eba5b43fd1fd55789cce2bf66d8db (patch) | |
tree | 06b2fd8401df3402563f977f353a5879eff6ea5b /actionview/lib/action_view | |
parent | 3327cd3f61a22a5834dcbf9bd24ecbc3a23de3de (diff) | |
download | rails-d8bf32231e3eba5b43fd1fd55789cce2bf66d8db.tar.gz rails-d8bf32231e3eba5b43fd1fd55789cce2bf66d8db.tar.bz2 rails-d8bf32231e3eba5b43fd1fd55789cce2bf66d8db.zip |
Add missing options to `datetime_select` [ci skip]
Diffstat (limited to 'actionview/lib/action_view')
-rw-r--r-- | actionview/lib/action_view/helpers/date_helper.rb | 2 |
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. |