File: //usr/local/rvm/gems/ruby-2.7.4/doc/tzinfo-2.0.4/ri/TZInfo/Timezone/strftime-i.ri
U:RDoc::AnyMethod[iI"
strftime:ETI"TZInfo::Timezone#strftime;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"LConverts a time to local time for the time zone and returns a `String` ;TI"Drepresentation of the local time according to the given format.;To:RDoc::Markup::BlankLine o;
; [
I"M`Timezone#strftime` first expands any occurrences of `%Z` in the format ;TI"Ostring to the time zone abbreviation for the local time (for example, EST ;TI"Kor EDT). Depending on the type of `time` parameter, the result of the ;TI"Pexpansion is then passed to either `Time#strftime`, `DateTime#strftime` or ;TI"@`Timestamp#strftime` to handle any other format directives.;T@o;
; [I"0This method is equivalent to the following:;T@o:RDoc::Markup::Verbatim; [I"/time_zone.to_local(time).strftime(format)
;T:@format0o;
; [
I"/@param format [String] the format string. ;TI"?@param time [Object] a `Time`, `DateTime` or `Timestamp`. ;TI"0@return [String] the formatted local time. ;TI"<@raise [ArgumentError] if `format` or `time` is `nil`. ;TI"N@raise [ArgumentError] if `time` is a {Timestamp} with an unspecified UTC;To;; [I"offset.;T;
0:
@fileI"lib/tzinfo/timezone.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(format, time = Time.now);T@'FI"
Timezone;TcRDoc::NormalClass00