Skip to content
Simplifies defining time zones in Rails apps with ZIP codes.
Find file
Latest commit 6374b04 @farski version bump
Failed to load latest commit information.
lib version bump
spec add support for zip code 97051 in Oregon
.gitignore Ignore .gem build files
Gemfile added & configured Guard
Gemfile.lock added & configured Guard
Guardfile added & configured Guard
TODO Initial code dump Added a bit to the readme
tzip.gemspec corrected gemspec


TZip makes it a little bit easier to set TimeZones in a rails app, since it can figure out the appropriate identifier from a ZIP code.

Install & Implement

$ gem install tzip

# Gemfile
gem 'tzip'


# Set the default time zone for a Rails app
# Rails configuration file (config/application.rb or config/environments/development.rb, etc)
config.time_zone = ActiveSupport::TimeZone.find_by_zipcode('90210')
Something went wrong with that request. Please try again.