HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/gems/ruby-2.6.8/doc/activesupport-6.1.4.1/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"FNOTE: This won't affect any <tt>ActiveSupport::TimeWithZone</tt> ;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