aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-10-04 18:21:00 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-10-04 18:21:00 +0900
commit6f456ae2db5b37b25410333563645789dc6a7ed4 (patch)
treed330ebc5a803940b478ba7554f80f3343ae24835 /activesupport/lib/active_support/core_ext
parentfced30c3738542211f761bb1ccdeff8441c4587e (diff)
downloadrails-6f456ae2db5b37b25410333563645789dc6a7ed4.tar.gz
rails-6f456ae2db5b37b25410333563645789dc6a7ed4.tar.bz2
rails-6f456ae2db5b37b25410333563645789dc6a7ed4.zip
Fix formatting of `Time.use_zone` [ci skip]
Diffstat (limited to 'activesupport/lib/active_support/core_ext')
-rw-r--r--activesupport/lib/active_support/core_ext/time/zones.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/core_ext/time/zones.rb b/activesupport/lib/active_support/core_ext/time/zones.rb
index c48edb135f..0aae073fb5 100644
--- a/activesupport/lib/active_support/core_ext/time/zones.rb
+++ b/activesupport/lib/active_support/core_ext/time/zones.rb
@@ -55,10 +55,10 @@ class Time
# end
# end
#
- # NOTE: This won't affect any <tt>ActiveSupport::TimeWithZone</tt>
- # objects that have already been created, e.g. any model timestamp
- # attributes that have been read before the block will remain in
- # the application's default timezone.
+ # NOTE: This won't affect any <tt>ActiveSupport::TimeWithZone</tt>
+ # objects that have already been created, e.g. any model timestamp
+ # attributes that have been read before the block will remain in
+ # the application's default timezone.
def use_zone(time_zone)
new_zone = find_zone!(time_zone)
begin