From 2be728c45f38aba8473e4c2905709cc1d559aeb2 Mon Sep 17 00:00:00 2001 From: zzak Date: Sun, 16 Mar 2014 12:34:34 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ lib/time.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9913eacb60..06aae7c313 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Mar 16 21:33:01 2014 Zachary Scott + + * lib/time.rb: [DOC] Fix timezone in example of Time.parse [Bug #9521] + Based on patch by @stomar + Sun Mar 16 13:21:40 2014 Nobuyoshi Nakada * configure.in (DLDFLAGS): insert a space between option and its 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