aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/values/time_zone.rb
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2012-05-01 19:06:03 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2012-05-01 19:06:03 +0530
commit42ff22f33a8963f1a1352f98e83b9918aa1a160d (patch)
tree3f43a8acee3ab20de78c4c9e30792296fddd06e4 /activesupport/lib/active_support/values/time_zone.rb
parent3cc6995e714bc763b40eb3e1d710c1e5ded44384 (diff)
parent339602b219e1fd842599f6750eb965f327a995c4 (diff)
downloadrails-42ff22f33a8963f1a1352f98e83b9918aa1a160d.tar.gz
rails-42ff22f33a8963f1a1352f98e83b9918aa1a160d.tar.bz2
rails-42ff22f33a8963f1a1352f98e83b9918aa1a160d.zip
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'activesupport/lib/active_support/values/time_zone.rb')
-rw-r--r--activesupport/lib/active_support/values/time_zone.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/values/time_zone.rb b/activesupport/lib/active_support/values/time_zone.rb
index 0baf9e1914..65213fb752 100644
--- a/activesupport/lib/active_support/values/time_zone.rb
+++ b/activesupport/lib/active_support/values/time_zone.rb
@@ -204,6 +204,7 @@ module ActiveSupport
@current_period = nil
end
+ # Returns the offset of this time zone in seconds.
def utc_offset
if @utc_offset
@utc_offset