Skip to content

Commit

Permalink
Merge pull request rails#17672 from radar/date-select-space
Browse files Browse the repository at this point in the history
Add space in :start_year description for date_select
  • Loading branch information
rafaelfranca committed Nov 19, 2014
2 parents 644696e + 97f2c41 commit 75cfca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionview/lib/action_view/helpers/date_helper.rb
Expand Up @@ -177,7 +177,7 @@ 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>:start_year</tt> - Set the start year for the year select. Default is <tt>Date.today.year - 5</tt>if
# * <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.
# * <tt>:end_year</tt> - Set the end year for the year select. Default is <tt>Date.today.year + 5</tt> if
Expand Down

0 comments on commit 75cfca0

Please sign in to comment.