instance method
abbreviation
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
abbreviation()
The identifier of this period, e.g. “GMT” (Greenwich Mean Time) or “BST” (British Summer Time) for “Europe/London”. The returned identifier is a symbol.
Source
# File activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_period.rb, line 79
def abbreviation
@offset.abbreviation
end
Defined in activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_period.rb line 79
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in TZInfo::TimezonePeriod