Skip to content

Commit f1e8962

Browse files
authored
Merge pull request rails#30797 from y-yagi/fix_formatting_of_use_zone
Fix formatting of `Time.use_zone` [ci skip]
2 parents fced30c + 6f456ae commit f1e8962

File tree

1 file changed

+4
-4
lines changed
  • activesupport/lib/active_support/core_ext/time

1 file changed

+4
-4
lines changed

activesupport/lib/active_support/core_ext/time/zones.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ def zone=(time_zone)
5555
# end
5656
# end
5757
#
58-
# NOTE: This won't affect any <tt>ActiveSupport::TimeWithZone</tt>
59-
# objects that have already been created, e.g. any model timestamp
60-
# attributes that have been read before the block will remain in
61-
# the application's default timezone.
58+
# NOTE: This won't affect any <tt>ActiveSupport::TimeWithZone</tt>
59+
# objects that have already been created, e.g. any model timestamp
60+
# attributes that have been read before the block will remain in
61+
# the application's default timezone.
6262
def use_zone(time_zone)
6363
new_zone = find_zone!(time_zone)
6464
begin

0 commit comments

Comments
 (0)