aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG.md
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2012-12-11 06:32:28 +0000
committerAndrew White <andyw@pixeltrix.co.uk>2012-12-11 06:32:28 +0000
commit331a82a1c8ec25cd8df3297b434cbb7cc020207a (patch)
tree7f54ce727d850323413ab0fe6e109359d9549a72 /activesupport/CHANGELOG.md
parent377692e9410922bc508fafb42602187728d421e7 (diff)
downloadrails-331a82a1c8ec25cd8df3297b434cbb7cc020207a.tar.gz
rails-331a82a1c8ec25cd8df3297b434cbb7cc020207a.tar.bz2
rails-331a82a1c8ec25cd8df3297b434cbb7cc020207a.zip
Add String#in_time_zone method
This commit adds a convenience method for converting a string to an ActiveSupport::TimeWithZone instance using the configured Time.zone or another passed as an argument.
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r--activesupport/CHANGELOG.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md
index f5f2aa85ef..2d4864f6fa 100644
--- a/activesupport/CHANGELOG.md
+++ b/activesupport/CHANGELOG.md
@@ -1,5 +1,7 @@
## Rails 4.0.0 (unreleased) ##
+* Add `String#in_time_zone` method to convert a string to an ActiveSupport::TimeWithZone. *Andrew White*
+
* Deprecate `ActiveSupport::BasicObject` in favor of `ActiveSupport::ProxyObject`.
This class is used for proxy classes. It avoids confusion with Ruby's BasicObject
class.