Skip to content
Browse files

provide correct information [ci skip]

  • Loading branch information...
1 parent 02d3668 commit ed62584391973c1fa3e7d53d71c1b9f16a8f0289 @kuldeepaggarwal kuldeepaggarwal committed Jan 2, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionview/lib/action_view/helpers/date_helper.rb
View
4 actionview/lib/action_view/helpers/date_helper.rb
@@ -170,8 +170,8 @@ def time_ago_in_words(from_time, include_seconds_or_options = {})
# * <tt>:use_month_names</tt> - Set to an array with 12 month names if you want to customize month names.
# Note: You can also use Rails' i18n functionality for this.
# * <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>Time.now.year - 5</tt>.
- # * <tt>:end_year</tt> - Set the end year for the year select. Default is <tt>Time.now.year + 5</tt>.
+ # * <tt>:start_year</tt> - Set the start year for the year select. Default is <tt>Date.today.year - 5</tt>.
+ # * <tt>:end_year</tt> - Set the end year for the year select. Default is <tt>Date.today.year + 5</tt>.
# * <tt>:discard_day</tt> - Set to true if you don't want to show a day select. This includes the day
# as a hidden field instead of showing a select field. Also note that this implicitly sets the day to be the
# first of the given month in order to not create invalid dates like 31 February.

0 comments on commit ed62584

Please sign in to comment.
Something went wrong with that request. Please try again.