summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-16 12:34:34 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-16 12:34:34 +0000
commit2be728c45f38aba8473e4c2905709cc1d559aeb2 (patch)
treee0655fcee4e65ecd692473185a0eb2744a50c50f /lib
parenta1bb379726ec7318251504ca9d6256a5baf408da (diff)
* lib/time.rb: [DOC] Fix timezone in example of Time.parse [Bug #9521]
Based on patch by @stomar [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/time.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/time.rb b/lib/time.rb
index 8c324e68da..e346a3e587 100644
--- a/lib/time.rb
+++ b/lib/time.rb
@@ -279,7 +279,7 @@ class Time
# values (1 or 0) are assumed if broken or missing. For example:
#
# # Suppose it is "Thu Nov 29 14:33:20 GMT 2001" now and
- # # your time zone is GMT:
+ # # your time zone is JST:
# now = Time.parse("Thu Nov 29 14:33:20 GMT 2001")
# Time.parse("16:30", now) #=> 2001-11-29 16:30:00 +0900
# Time.parse("7/23", now) #=> 2001-07-23 00:00:00 +0900