Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Added deprecated warning messages to Float#months and Float#years deprications. | Tom Lea | 2008-10-13 | 1 | -8/+10 | |
| | ||||||
* | Deprecated Float#years and Float#months, moved Numeric#years and ↵ | Tom Lea | 2008-10-13 | 1 | -0/+18 | |
| | | | | Numeric#months into Integer. | |||||
* | Time#advance recognizes fractional days and weeks [#970 state:resolved] | Tom Lea | 2008-10-13 | 1 | -0/+34 | |
| | ||||||
* | Namespace Inflector, Dependencies, OrderedOptions, and TimeZone under ↵ | Joshua Peek | 2008-06-03 | 1 | -4/+4 | |
| | | | | ActiveSupport [#238 state:resolved] | |||||
* | Duration #since and #ago with no argument (e.g., 5.days.ago) return ↵ | gbuesing | 2008-04-20 | 1 | -0/+42 | |
| | | | | TimeWithZone when config.time_zone is set. Introducing Time.current, which returns Time.zone.now if config.time_zone is set, otherwise just returns Time.now | |||||
* | require abstract_unit directly since test is in load path | Jeremy Kemper | 2008-01-05 | 1 | -1/+1 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8563 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Ruby 1.9 compat: add #raise to AS::BasicObject, fixup Duration argument ↵ | Jeremy Kemper | 2008-01-02 | 1 | -0/+11 | |
| | | | | | | error. Closes #10594. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8523 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Ruby 1.9 compat: define Duration#== [chuyeow] | Jeremy Kemper | 2007-12-15 | 1 | -1/+0 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8399 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Mark Duration test failing with Ruby 1.9 | Jeremy Kemper | 2007-09-27 | 1 | -2/+3 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7648 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Improve test coverage of Duration. Closes #7182 [richcollins] | Michael Koziarski | 2007-01-21 | 1 | -0/+4 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6007 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/+13 | |
[eventualbuddha] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5940 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |