aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/date_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Removing ==Examples and last blank lines of docs from actionpackFrancesco Rodriguez2012-05-151-26/+0
|
* Change unless + else into if + elseShaliko Usubov2012-05-061-3/+3
|
* distance_of_time_in_words: Add/tweak comments to understand time intervals ↵Elliot Winkler2012-04-301-7/+12
| | | | better
* distance_of_time_in_words: 45-60 days is about 2 months, not about 1 monthElliot Winkler2012-04-301-2/+3
|
* Merge pull request #3726 from JanDupal/fix-date-helper-hiddenJosé Valim2012-04-301-0/+2
|\ | | | | fix Helpers::DateHelper with :use_hidden - hide separators
| * fix Helpers::DateHelper with :use_hidden - hide separatorsJan Dupal2011-11-221-0/+2
| |
* | Replace boolean argument with an options hash.Dmitriy Kiriyenko2012-04-301-27/+33
| | | | | | | | | | | | | | | | This replaces `include_seconds` argument with an option key `include_seconds => true` in options hash. Also `time_ago_in_words` now passes options hash, including a `locale` key, which makes in compatible with `distance_of_time_in_words`.
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-04-251-0/+3
|\ \
| * | Add distance_of_time_in_words example for secondsAlexey Vakhov2012-04-221-0/+3
| | |
* | | Use leap years trick in distance_of_time_in_words only for distances between ↵Alexey Vakhov2012-04-241-12/+16
| | | | | | | | | | | | real date points
* | | fixed non matching documentation behaviour with method semantics on ↵Marcelo Casiraghi2012-04-241-1/+1
| | | | | | | | | | | | distance_of_time_in_words
* | | Distance of time in words should work correct if from time > to_timeAlexey Vakhov2012-04-241-2/+3
|/ /
* | avoid autolinking by rdoc [ci skip]Vijay Dev2012-04-121-2/+2
| |
* | datetime_select should work with -/+ infinity datesJoe Van Dyk2012-03-281-1/+1
| |
* | apply form_for namespace option to date_selectSergey Nartimov2012-03-261-1/+4
| |
* | Remove code duplicationRafael Mendonça França2012-03-191-11/+11
| |
* | Fixes issue #5222: DateTimeSelector builds invalid dates on leap day when ↵Jey Balachandran2012-03-181-6/+6
| | | | | | | | discarding both day and month.
* | time_tag support for blocksAntonio Tapiador del Dujo2012-03-181-2/+7
| |
* | tiny refactoringVasiliy Ermolovich2012-01-291-12/+6
| | | | | | | | | | use :default option with translate method instead of condition simplify separator method
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-01-261-0/+24
|\ \
| * | Documented the :use_two_digit_numbers optionLennart Fridén2012-01-221-0/+24
| | |
* | | Merge pull request #4641 from rafaelfranca/date_select-fix-3-2José Valim2012-01-241-3/+3
| | | | | | | | | | | | date_select fixes [3-2-stable]
* | | Raise exception when date.order includes invalid elementsIndrek Juhkam2012-01-221-1/+9
|/ /
* | Do not need of ActionView::Helpers scope since we are insideRafael Mendonça França2012-01-171-3/+3
| | | | | | | | ActionView::Helpers
* | Extract DatetimeSelectRafael Mendonça França2012-01-171-53/+1
| |
* | Extract TimeSelectRafael Mendonça França2012-01-171-5/+1
| |
* | Extract DateSelectRafael Mendonça França2012-01-171-5/+1
| |
* | Revert "Merge pull request #4154 from nashby/include-blank-date-helper"Piotr Sarnacki2011-12-261-2/+2
| | | | | | | | | | This reverts commit 76f0fa6066b78cd8f0e139dff4a7b65c96db5778, reversing changes made to 28cd098d99c52486aecb72aab39105d8abcd52ad.
* | add ability to set a prompt string in include_blank option for date helpers, ↵Vasiliy Ermolovich2011-12-241-2/+2
| | | | | | | | closes #4143
* | fix adding field_with_errors to date selects, closes #3487Vasiliy Ermolovich2011-12-201-5/+9
| |
* | fix separator insertion in date_select helperSergey Nartimov2011-12-141-1/+2
| |
* | Added :use_two_digit_numbers option [Lennart Fridén & Kim Persson]Lennart Fridén2011-12-111-3/+6
|/ | | | | | | | | | Added use_two_digit_numbers select_tag option for displaying months and days with leading zeros without affecting the values (useful for e.g. ISO-style dates, 2011-08-01). Signed-off-by: José Valim <jose.valim@gmail.com> Conflicts: actionpack/CHANGELOG.md
* Fixes an issue when creating a date select with too many options.Liborio Cannici2011-10-081-5/+10
| | | | | | | | | | Inspired by dlt https://github.com/dlt/rails/commit/9e615634745dc81598e7b880d52411338d3a7a93 Closes #239. Conflicts: actionpack/CHANGELOG
* little details seen while doing a pass through what's new in docrailsXavier Noria2011-07-231-1/+1
|
* use the doc conventions for arguments in all casesRay Baxter2011-07-201-3/+3
| | | | | See https://github.com/lifo/docrails/commit/5c71a4e76897844ab6aeabb581549d981d9768c9#commitcomment-485675
* reword select_date's behaviour clearly when an incomplete options array is ↵Vijay Dev2011-07-201-3/+3
| | | | passed
* we're talking about days here, not hoursRay Baxter2011-07-171-1/+1
|
* wording between select_second, select_minute andRay Baxter2011-07-171-2/+2
| | | select_hour should be consistent and correct
* fix typoRay Baxter2011-07-171-1/+1
|
* make documentation agree with test expectations andRay Baxter2011-07-171-2/+2
| | | | | | behaviour See: test_select_date_with_incomplete_order in actionpack/test/template/date_helper_test.rb
* document that second tags are also returned by defaultRay Baxter2011-07-161-1/+1
|
* there is no Time.today method, use Time.nowRay Baxter2011-07-161-2/+2
|
* remove stray characterRay Baxter2011-07-161-1/+1
|
* disambiguate uses of post/POST by using "article"Ray Baxter2011-07-161-28/+28
| | | | for the related variable passed to date_select, time_select and datetime_select
* clarify that classes that include DateHelper canRay Baxter2011-07-161-2/+2
| | | also manipulate times
* clarify that DateTime objects are allowed arguments Ray Baxter2011-07-161-1/+1
| | | to distance_of_time_in_words
* use minute instead of second in description of select_minuteRay Baxter2011-07-161-2/+2
|
* show correct helper in descriptionRay Baxter2011-07-161-1/+1
|
* use 'hour' instead of 'minutes' and 'second' for select_hourRay Baxter2011-07-161-2/+2
|
* Remove usage of memoizable from ActionPack.José Valim2011-06-161-7/+6
|