aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-02-24 18:36:45 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-02-24 18:36:45 -0300
commit51e963790f565933d16a2180e85e7124b556ee7d (patch)
tree2efbabf665f6972575a0c01c172994c77bb9e647 /activesupport
parenta06623609ee37f24b1b741098db52612b6f539ab (diff)
downloadrails-51e963790f565933d16a2180e85e7124b556ee7d.tar.gz
rails-51e963790f565933d16a2180e85e7124b556ee7d.tar.bz2
rails-51e963790f565933d16a2180e85e7124b556ee7d.zip
Add more information to the CHANGELOG entry [ci skip]
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/CHANGELOG.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md
index 86e5b6f781..2515d378fd 100644
--- a/activesupport/CHANGELOG.md
+++ b/activesupport/CHANGELOG.md
@@ -2,6 +2,18 @@
* Added `ActiveSupport::TimeWithZone#to_r` for `Time#at` compatibility.
+ Before this change:
+
+ Time.zone = 'Tokyo'
+ time = Time.zone.now
+ time == Time.at(time) # => false
+
+ After the change:
+
+ Time.zone = 'Tokyo'
+ time = Time.zone.now
+ time == Time.at(time) # => true
+
*stopdropandrew*
* `ActiveSupport::NumberHelper#number_to_human` returns the number unaltered when