aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/date_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Rename options param of #time_ago_in_words to match API changeMax Kramer2014-06-281-2/+2
| | | Rename `include_seconds_or_options` to `options` to match 6b9356a (which removed the deprecation introduced by #6077). This has no functional impact because the parameter is passed directly through, but makes it clearer that the parameter no longer supports a boolean as input.
* Fix date_select option overwriting html classesIzumi Wong-Horiuchi2014-03-241-1/+1
| | | | | with_css_classes: true option overwrites other html classes. Concatenate day month and year classes rather than overwriting.
* Enhance readability of ActionView DateHelper#distance_of_time_in_wordsKenny Meyer2014-03-091-4/+8
| | | | | | | Refactor numerical constants to module constants which give the numbers a contextual meaning. This commit aims to provide quicker understanding for part of the implementation of the DateHelper#distance_of_time_in_words method.
* implements new option :month_format_string for date select helpers [Closes ↵Xavier Noria2014-02-151-9/+24
| | | | #13618]
* provide correct example of `datetime_select` helper [ci skip]Kuldeep Aggarwal2014-01-041-1/+1
|
* No need to use fixed size font [ci skip]Rafael Mendonça França2014-01-031-2/+2
|
* Fix documentation for end_year option of date_helper [ci skip]Prathamesh Sonpatki2014-01-031-2/+6
| | | | | | | | | | - While editing an existing record, end_year is equal to current selected year plus 5 by default. - While editing an existing record, start_year is equal to current selected year value minus 5 by default. - Fixes #13552 Acked-by: Prathamesh Sonpatki <csonpatki@gmail.com> Acked-by: Prathamesh Sonpatki <csonpatki@gmail.com>
* provide correct information [ci skip]Kuldeep Aggarwal2014-01-021-2/+2
|
* Minor typo fixesAkira Matsuda2013-11-271-1/+1
|
* Line up the comments for aestheticsDavid Heinemeier Hansson2013-11-031-5/+5
|
* Fix wrong variable name used in the select_day method documentationJefferson Queiroz Venerando2013-10-101-2/+2
| | | The variable name created in the example is `my_date`, the methods were using `my_time` instead.
* Remove the deprecated include_seconds argument from distance_of_time_in_wordsCarlos Antonio da Silva2013-07-021-9/+1
| | | | Pass in an :include_seconds hash option to use this feature.
* Move actionpack/lib/action_view* into actionview/libPiotr Sarnacki2013-06-201-0/+1083