diff options
author | Geoff Buesing <gbuesing@gmail.com> | 2008-03-11 06:23:41 +0000 |
---|---|---|
committer | Geoff Buesing <gbuesing@gmail.com> | 2008-03-11 06:23:41 +0000 |
commit | 3af5b278397c8162b2ac29bd8eeac1239e4fea15 (patch) | |
tree | 901c6977bf653302977f3bf55d1b68f4232921fb /activesupport/lib/active_support/time_with_zone.rb | |
parent | ba91fddc442ecfbeffb3c7b05fa5851fabc32059 (diff) | |
download | rails-3af5b278397c8162b2ac29bd8eeac1239e4fea15.tar.gz rails-3af5b278397c8162b2ac29bd8eeac1239e4fea15.tar.bz2 rails-3af5b278397c8162b2ac29bd8eeac1239e4fea15.zip |
Removing unneeded #change_time_zone method from Time, DateTime and TimeWithZone
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9008 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib/active_support/time_with_zone.rb')
-rw-r--r-- | activesupport/lib/active_support/time_with_zone.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/activesupport/lib/active_support/time_with_zone.rb b/activesupport/lib/active_support/time_with_zone.rb index 0f5d0a2ee3..008c7f151b 100644 --- a/activesupport/lib/active_support/time_with_zone.rb +++ b/activesupport/lib/active_support/time_with_zone.rb @@ -41,11 +41,6 @@ module ActiveSupport utc.in_current_time_zone end - # Changes the time zone without converting the time - def change_time_zone(new_zone) - time.change_time_zone(new_zone) - end - # Returns a Time.local() instance of the simultaneous time in your system's ENV['TZ'] zone def localtime utc.getlocal |