diff options
author | Andrew White <andrew.white@unboxed.co> | 2017-04-14 18:04:13 +0100 |
---|---|---|
committer | Andrew White <andrew.white@unboxed.co> | 2017-04-14 18:04:13 +0100 |
commit | 851b7f866e13518d900407c78dcd6eb477afad06 (patch) | |
tree | 494d14bc15c7019a5ab55e5ea6fbe590e192be77 /activesupport/CHANGELOG.md | |
parent | 5e22cd3c76ca03b7a954556f636bdc28b976275d (diff) | |
download | rails-851b7f866e13518d900407c78dcd6eb477afad06.tar.gz rails-851b7f866e13518d900407c78dcd6eb477afad06.tar.bz2 rails-851b7f866e13518d900407c78dcd6eb477afad06.zip |
Add additional options to time `change` methods
Support `:offset` in `Time#change` and `:zone` or `:offset`
in `ActiveSupport::TimeWithZone#change`.
Fixes #28723.
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r-- | activesupport/CHANGELOG.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index 1adc473e1d..6146dd989f 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,3 +1,13 @@ +* Add support for `:offset` and `:zone` to `ActiveSupport::TimeWithZone#change` + + *Andrew White* + +* Add support for `:offset` to `Time#change` + + Fixes #28723. + + *Andrew White* + * Add `fetch_values` for `HashWithIndifferentAccess` The method was originally added to `Hash` in Ruby 2.3.0. |