aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/date_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* A few documentation fixes [ci skip]Robin Dupret2015-06-231-6/+6
|
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2015-06-211-1/+1
|\ | | | | | | | | Conflicts: guides/source/configuring.md
| * [ci skip] Fix minutes to seconds in `select_second`yui-knk2015-06-091-1/+1
| | | | | | | | This is same type commit of https://github.com/rails/rails/pull/20463
* | Nitpick :nail_care: [ci skip]Zachary Scott2015-06-181-1/+2
| |
* | Add RDoc about scope option on distance_of_time_in_wordsMauro George2015-06-181-0/+20
| | | | | | | | [ci skip]
* | [ci skip] Fix hours to minutes in `select_minute`yui-knk2015-06-071-1/+1
|/
* Add missing options to `datetime_select` [ci skip]yachibit2015-01-251-0/+2
|
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-1/+1
|
* Add space in :start_year description for date_selectRyan Bigg2014-11-191-1/+1
|
* Replace Enumerable#reverse.each with Enumerable#reverse_eachErik Michaels-Ober2014-10-131-1/+1
|
* Uppercase HTML in docs.Hendy Tanata2014-08-081-6/+6
| | | | [skip ci]
* 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