Registry / utility / tzinfo

tzinfo

JSON →
library2.0.6rbrubygemsunverified

TZInfo provides access to time zone data and allows times to be converted using time zone rules.

gem install tzinfo
INSTALL
IMPORT
SIG · TZINFO
T
tzinfo
utilityrubyv2.0.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TZInfo
require 'tzinfo'

Gets the time zone for New York and converts the current time to local time.

require 'tzinfo' tz = TZInfo::Timezone.get('America/New_York') puts tz.to_local(Time.now)
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.6latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
tzinfo — gem install tzinfo · libregistry