diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2012-12-11 13:57:05 +0000 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2012-12-11 13:57:05 +0000 |
commit | 48583f8bf74d1cefefea3cd6591bd546a9eaff6c (patch) | |
tree | 50ebc308bc70cddb151cf7ebdc375eaaae812fd1 /activesupport/CHANGELOG.md | |
parent | 45a6f546b6047befdef9d4acb8fa6c18cc0dab09 (diff) | |
download | rails-48583f8bf74d1cefefea3cd6591bd546a9eaff6c.tar.gz rails-48583f8bf74d1cefefea3cd6591bd546a9eaff6c.tar.bz2 rails-48583f8bf74d1cefefea3cd6591bd546a9eaff6c.zip |
Deprecate obsolete Time to DateTime fallback methods
The Time.time_with_datetime_fallback, Time.utc_time and Time.local_time
methods were added to handle the limitations of Ruby's native Time
implementation. Those limitations no longer apply so we are deprecating
them in 4.0 and they will be removed in 4.1.
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r-- | activesupport/CHANGELOG.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index 73d4837e46..7b93731917 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,5 +1,12 @@ ## Rails 4.0.0 (unreleased) ## +* Deprecate `Time.time_with_date_fallback`, `Time.utc_time` and `Time.local_time`. + These methods were added to handle the limited range of Ruby's native Time + implementation. Those limitations no longer apply so we are deprecating them in 4.0 + and they will be removed in 4.1. + + *Andrew White* + * Deprecate `Date#to_time_in_current_zone` and add `Date#in_time_zone`. *Andrew White* * Add `String#in_time_zone` method to convert a string to an ActiveSupport::TimeWithZone. *Andrew White* |