Class: ReeDatetime::ZoneOffset
- Inherits:
-
Object
- Object
- ReeDatetime::ZoneOffset
- Includes:
- Ree::FnDSL
- Defined in:
- lib/ree_lib/packages/ree_datetime/package/ree_datetime/functions/zone_offset.rb
Instance Method Summary collapse
Instance Method Details
#call(zone_name) ⇒ Object
13 14 15 16 |
# File 'lib/ree_lib/packages/ree_datetime/package/ree_datetime/functions/zone_offset.rb', line 13 def call(zone_name) tzinfo = find_tzinfo(zone_name) offset_to_string(tzinfo.utc_offset) end |