Skip to content

Instantly share code, notes, and snippets.

@mechamogera
Created January 15, 2013 12:36
Show Gist options
  • Select an option

  • Save mechamogera/4538340 to your computer and use it in GitHub Desktop.

Select an option

Save mechamogera/4538340 to your computer and use it in GitHub Desktop.
タイムゾーン取得rubyスクリプト
# A sample Gemfile
source "http://rubygems.org"
# gem "rails"
gem "activesupport"
gem "tzinfo"
require 'rubygems'
require 'active_support'
require 'active_support/values/time_zone'
puts ActiveSupport::TimeZone.all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment