This project is archived and is in readonly mode.
1.5.days.ago != 36.hours.ago
-
Tom Lea
- Tag changed from activesupport, core_ext, patch to activesupport, bug, core_ext, patch
Updated the patch with input from rails-core.
Deprecated Float#years and Float#months.
-
Michael Koziarski
- Milestone cleared.
- Assigned user set to Geoff Buesing
-
Geoff Buesing
Failing test with this latest patch :/
1) Error: test_deprecated_fractional_months(DurationTest): ArgumentError: wrong number of arguments (3 for 2)
-
Tom Lea
Gah!
It seems something I was toying with (and clearly did not have time to get finished) slipped into a commit.
Updated patch attached to finish what I was toying with... feel free to squash the commits down if you prefer.
-
Repository
- State changed from new to resolved
(from [27c70ff386e76ed0af41b53f2ba8cdb09bc94ace]) Time#advance recognizes fractional days and weeks [#970 1.5.days.ago != 36.hours.ago state:resolved] http://github.com/rails/rails/co...
-
Tom Lea
- Tag changed from activesupport, bug, core_ext, patch to activesupport, bug, core_ext, patch
Thanks for the commit Geoff.
