Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | date/calculations.rb needs active_support/core_ext/object/acts_like because ↵ | Xavier Noria | 2010-01-01 | 1 | -0/+1 | |
| | | | | it uses acts_like? | |||||
* | Fixes Dependency bug in ActiveSupport | Yehuda Katz | 2009-12-20 | 1 | -0/+1 | |
| | ||||||
* | Clarify date/time dependencies | Jeremy Kemper | 2009-11-02 | 1 | -0/+1 | |
| | ||||||
* | Duplicating the options hash in Date#advance to prevent modification of the ↵ | Jay Pignata | 2009-08-31 | 1 | -0/+1 | |
| | | | | | | original [#1133 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Check for date/time methods that moved upstream in 1.9 | Jeremy Kemper | 2009-05-07 | 1 | -2/+2 | |
| | ||||||
* | Fix dependencies revealed by testing in isolation | Jeremy Kemper | 2009-04-22 | 1 | -0/+2 | |
| | ||||||
* | Convert Date calculations and conversions extension modules to class reopens | Jeremy Kemper | 2009-03-28 | 1 | -227/+212 | |
| | ||||||
* | Merge docrails | Pratik Naik | 2009-03-16 | 1 | -1/+1 | |
| | ||||||
* | Introduce convenience methods past?, today? and future? for Date and Time ↵ | Clemens Kofler | 2008-09-14 | 1 | -9/+24 | |
| | | | | classes to facilitate Date/Time comparisons. | |||||
* | Fixed Date#end_of_quarter to not blow up on May 31st [#289 state:resolved] ↵ | David Heinemeier Hansson | 2008-06-02 | 1 | -1/+1 | |
| | | | | (Danger) | |||||
* | Adding Date.current, which returns Time.zone.today if config.time_zone is ↵ | gbuesing | 2008-05-08 | 1 | -0/+5 | |
| | | | | set; otherwise returns Date.today. ActionView date_helper uses Date.current to determine locale-appropriate default | |||||
* | Improve documentation coverage and markup | Xavier Noria | 2008-05-02 | 1 | -1/+1 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Improve documentation. | Pratik Naik | 2008-04-05 | 1 | -2/+2 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Improve documentation. | Pratik Naik | 2008-03-26 | 1 | -0/+2 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Adding Time#end_of_day, _quarter, _week, and _year. Closes #9312. | Jeremy Kemper | 2008-02-27 | 1 | -0/+20 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8934 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Change Time and DateTime #end_of_month to return last second of month ↵ | Geoff Buesing | 2007-11-24 | 1 | -1/+1 | |
| | | | | | | instead of beginning of last day of month. Closes #10200 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Time, Date and DateTime #advance accept :weeks option. Closes #9866. | Jeremy Kemper | 2007-10-13 | 1 | -1/+2 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7868 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Fix Date#years_ago and #years_since from leap days. Closes #9864. | Jeremy Kemper | 2007-10-13 | 1 | -2/+2 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7863 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Refactor Time and Date#months_since and #months_ago to use #advance. Closes ↵ | Jeremy Kemper | 2007-10-13 | 1 | -21/+4 | |
| | | | | | | #9863. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7862 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Deprecation: remove deprecated :mday option from Time, Date, and ↵ | Jeremy Kemper | 2007-09-18 | 1 | -1/+1 | |
| | | | | | | DateTime#change. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Some 1.9 forward compatibility | Jeremy Kemper | 2007-09-14 | 1 | -8/+10 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7474 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Fix Time#advance bug when trying to advance a year from leap day. Closes ↵ | Rick Olson | 2007-08-03 | 1 | -4/+5 | |
| | | | | | | #8655 [gbuesing] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7262 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Add Date#since, ago, beginning_of_day, and end_of_day. Date + seconds works ↵ | Jeremy Kemper | 2007-06-04 | 1 | -0/+26 | |
| | | | | | | now. Closes #8575. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6937 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Date.yesterday and .tomorrow. Closes #8571. | Jeremy Kemper | 2007-06-04 | 1 | -124/+132 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6934 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Move common DateTime calculations to Date. Closes #8536. | Jeremy Kemper | 2007-06-01 | 1 | -0/+108 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6921 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Added Date#change (like Time#change) [DHH] | David Heinemeier Hansson | 2007-05-31 | 1 | -0/+14 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6910 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Fix that Dates couldn't be subtracted from Dates after [5940]. | Sam Stephenson | 2007-01-15 | 1 | -1/+5 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5954 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Make 1.months and friends accurate by introducing a Duration class. #6835 ↵ | Michael Koziarski | 2007-01-15 | 1 | -0/+41 | |
[eventualbuddha] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5940 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |