Skip to content
Browse files

Added a bit to the readme

  • Loading branch information...
1 parent a56c607 commit 2388a71950c776a6b2f115cb51eb27077e99ff55 @farski committed
Showing with 9 additions and 0 deletions.
  1. +9 −0 readme.md
View
9 readme.md
@@ -2,6 +2,15 @@
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'
+
## 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')

0 comments on commit 2388a71

Please sign in to comment.
Something went wrong with that request. Please try again.