HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/doc/activesupport-7.0.4.2/ri/Time/use_zone-c.ri
U:RDoc::AnyMethod[iI"
use_zone:ETI"Time::use_zone;TT:publico:RDoc::Markup::Document:@parts[	o:RDoc::Markup::Paragraph;	[I"JAllows override of <tt>Time.zone</tt> locally inside supplied block; ;TI";resets <tt>Time.zone</tt> to existing value when done.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[I":class ApplicationController < ActionController::Base
;TI"$  around_action :set_time_zone
;TI"
;TI"  private
;TI"
;TI"  def set_time_zone
;TI"8    Time.use_zone(current_user.timezone) { yield }
;TI"  end
;TI"	end
;T:@format0o;
;	[	I"=NOTE: This won't affect any ActiveSupport::TimeWithZone ;TI"Fobjects that have already been created, e.g. any model timestamp ;TI"Dattributes that have been read before the block will remain in ;TI"(the application's default timezone.;T:
@fileI".lib/active_support/core_ext/time/zones.rb;T:0@omit_headings_from_table_of_contents_below00I";T[I"(time_zone);T@!FI"	Time;TcRDoc::NormalClass00