diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2012-07-01 09:11:21 +0100 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2012-07-01 09:11:21 +0100 |
commit | 98b46bf5e201307cae56ee14bf41363a539779c5 (patch) | |
tree | 8a362b8d7b3fbe9d2800580f1e962a99efb0fe2d /activesupport/CHANGELOG.md | |
parent | 73bddd12a4311debf264e8beb226b296ef568dd6 (diff) | |
download | rails-98b46bf5e201307cae56ee14bf41363a539779c5.tar.gz rails-98b46bf5e201307cae56ee14bf41363a539779c5.tar.bz2 rails-98b46bf5e201307cae56ee14bf41363a539779c5.zip |
Make Time#change work with offsets other than UTC or local
Use Time.new to create times where the current offset is not zero or
not in the local time zone - closes #4847 and #6651.
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r-- | activesupport/CHANGELOG.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index 87b956e3fc..d2e07d6762 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,5 +1,7 @@ ## Rails 4.0.0 (unreleased) ## +* Time#change now works with time values with offsets other than UTC or the local time zone. *Andrew White* + * AS::Callbacks: deprecate usage of filter object with `#before` and `#after` methods as `around` callback. *Bogdan Gusiev* * Add `Time#prev_quarter' and 'Time#next_quarter' short-hands for months_ago(3) and months_since(3). *SungHee Kang* |