aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/date_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Remove extra white spaces on ActionPack docs.Sebastian Martinez2011-05-231-1/+1
|
* Clean up redundant backslashesPirogov Evgenij2011-05-141-4/+4
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-141-66/+73
|\ | | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/date_helper.rb railties/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt
| * Fix styiling issues on DateHelper docsSebastian Martinez2011-05-101-64/+70
| |
| * Explain the implication of using :ignore_date on time_selectAditya Sanghi2011-05-101-1/+2
| |
| * Fixed typos in documentation for the date_select helper in ↵Philip Roberts2011-05-091-1/+1
| | | | | | | | | | | | actionpack/action_view. The description for an example of the date_select method did not match the actual code example.
* | Merge pull request #343 from asanghi/ampmJosé Valim2011-05-071-4/+30
|\ \ | | | | | | Allow AM/PM format in datetime selectors
| * | DRY this baby upAditya Sanghi2011-04-291-23/+4
| | |
| * | add more documentation; remove unused assignmentAditya Sanghi2011-04-291-4/+14
| | |
| * | Allow AM/PM in datetime selectorsAditya Sanghi2011-04-291-0/+35
| |/
* | strip spaceAditya Sanghi2011-05-061-2/+2
| |
* | Take leap years into account more seriously when calculating year distance ↵Aditya Sanghi2011-05-061-3/+14
|/ | | | [#6074 state:resolved]
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-04-191-4/+6
|\ | | | | | | | | | | Conflicts: railties/guides/source/ajax_on_rails.textile railties/guides/source/generators.textile
| * Fixing more spacing inconsistenciesMatt Duncan2011-04-151-1/+1
| |
| * Days are never approximated using 'about'Matt Duncan2011-04-151-1/+1
| |
| * Making example result match actual resultMatt Duncan2011-04-151-1/+1
| |
| * Including actual usage in exampleMatt Duncan2011-04-151-1/+3
| |
* | Aligning commentsMatt Duncan2011-04-131-1/+1
| |
* | Fixing distance_of_time_in_words range near 2 daysMatt Duncan2011-04-131-5/+5
|/
* Action Pack typos.R.T. Lechow2011-03-051-2/+2
|
* Add Date#rfc3339 and Date#iso8601 to ASSantiago Pastorino2011-02-131-0/+1
|
* Allow for the format of time_tag in AP to be changed via an option argument.Josh Kalderimis2011-02-121-3/+5
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Added time_tag helper to AP for HTML5 time tag [#5919 state:resolved]Sjoerd Andringa2011-02-121-0/+19
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* patching to ensure separator is printed with order [#5816 state:resolved]Aditya Sanghi2010-11-111-0/+2
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* The deleted examples are redundant.Aditya Sanghi2010-10-171-11/+0
| | | | They do not reveal anything new that is not already been explained in preceding example.
* Avoid uninitialized variable warning.Emilio Tagua2010-09-271-0/+1
|
* Add missing require.José Valim2010-08-271-1/+2
|
* Removing some unuseful begin/end and refactor prompt_option_tag a bitCarlos Antonio da Silva2010-08-271-16/+11
| | | | | | [#5469 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* fixing the ternary operation where the logic is very confusing.Neeraj Singh2010-07-181-1/+2
| | | | | | [#5136 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* removed 'unless const_defined?' code smellJosh Kalderimis2010-06-211-2/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge remote branch 'rails/master'Xavier Noria2010-06-201-2/+4
|\ | | | | | | | | Conflicts: actionpack/lib/abstract_controller/base.rb
| * Fixed date_select date_separator when discard_month and/or discard_day are ↵Thibaud Guillaume-Gentil2010-06-201-2/+4
| | | | | | | | | | | | true [#4856 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | Adds title and description where needed.Rizwan Reza2010-06-161-0/+2
|/