aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/time_with_zone.rb5
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 c5810c2c19..6b9fed4b8f 100644
--- a/activesupport/lib/active_support/time_with_zone.rb
+++ b/activesupport/lib/active_support/time_with_zone.rb
@@ -42,11 +42,6 @@ module ActiveSupport
time.change_time_zone(new_zone)
end
- # Changes the time zone to Time.zone without converting the time
- def change_time_zone_to_current
- time.change_time_zone_to_current
- end
-
# Returns a Time.local() instance of the simultaneous time in your system's ENV['TZ'] zone
def localtime
utc.dup.localtime # use #dup because Time#localtime is destructive