ruby-changes:33270
From: zzak <ko1@a...>
Date: Sun, 16 Mar 2014 21:34:38 +0900 (JST)
Subject: [ruby-changes:33270] zzak:r45349 (trunk): * lib/time.rb: [DOC] Fix timezone in example of Time.parse [Bug #9521]
zzak 2014-03-16 21:34:34 +0900 (Sun, 16 Mar 2014) New Revision: 45349 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45349 Log: * lib/time.rb: [DOC] Fix timezone in example of Time.parse [Bug #9521] Based on patch by @stomar [ci skip] Modified files: trunk/ChangeLog trunk/lib/time.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 45348) +++ ChangeLog (revision 45349) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun Mar 16 21:33:01 2014 Zachary Scott <e@z...> + + * 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 <nobu@r...> * configure.in (DLDFLAGS): insert a space between option and its Index: lib/time.rb =================================================================== --- lib/time.rb (revision 45348) +++ lib/time.rb (revision 45349) @@ -279,7 +279,7 @@ class Time https://github.com/ruby/ruby/blob/trunk/lib/time.rb#L279 # 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/