0.01
No commit activity in last 3 years
No release in over 3 years
Determine the local system's time zone
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.3.24
 Project Readme

timezone_local

timezone_local is a Ruby port of the Perl CPAN module DateTime::TimeZone::Local for determining the local system's timezone. Currently only Unix platforms are supported but pull requests are welcome!

Usage

$ gem install timezone_local

require 'timezone_local'
tz = TimeZone::Local.get() # => #<TZInfo::LinkedTimezone: US/Eastern>