mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
a1bb379726
commit
2be728c45f
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Sun Mar 16 21:33:01 2014 Zachary Scott <e@zzak.io>
|
||||
|
||||
* 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@ruby-lang.org>
|
||||
|
||||
* configure.in (DLDFLAGS): insert a space between option and its
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue