Skip to content
forked from farski/TZip

Simplifies defining time zones in Rails apps with ZIP codes.

Notifications You must be signed in to change notification settings

chiron-health/TZip

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TZip

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.

Codeship Status for chiron-health/TZip

Install & Implement

$ gem install tzip

# Gemfile
gem 'tzip'

Usage

# 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')

About

Simplifies defining time zones in Rails apps with ZIP codes.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%