Skip to content

chetan/timezone_local

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

Determine the local system's time zone

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages