Merge pull request #18677 from yachibit/docs_for_datetime_select

Add missing options to `datetime_select` [ci skip]
This commit is contained in:
Abdelkader Boudih 2015-01-25 07:11:41 +00:00
commit 921915cd95

@ -177,6 +177,8 @@ def time_ago_in_words(from_time, options = {})
# 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.