public Method

TimeZone.tzinfo

There's no documentation for this item.

Source Code

# File active_support/values/time_zone.rb, line 219
def tzinfo
  return @tzinfo if @tzinfo
  @tzinfo = MAPPING[name]
  if String === @tzinfo
    @tzinfo = TZInfo::Timezone.get(@tzinfo)
    MAPPING[name] = @tzinfo
  end
  @tzinfo
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.