summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-04 15:57:16 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-04 15:57:16 +0000
commitd9087ffebca0e5637246d4b8dce35c65d28f40a1 (patch)
tree690170030a2ee321bc8e9eddf80a7b4f52d067ca /lib
parente1fefb28e3ff8575d74005f06da12eee3d809db4 (diff)
update a comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/time.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/time.rb b/lib/time.rb
index 387df1f298..b8e3b22998 100644
--- a/lib/time.rb
+++ b/lib/time.rb
@@ -178,8 +178,8 @@ class Time
if zone_utc?(zone)
t.utc
elsif offset ||= zone_offset(zone)
- # Prefer the local (real) timezone over the fixed offset (artificial)
- # timezone.
+ # Prefer the local timezone over the fixed offset timezone because
+ # the former is a real timezone and latter is an artificial timezone.
t.localtime
if t.utc_offset != offset
# Use the fixed offset timezone only if the local timezone cannot