* time.c: [DOC] Typo in Time overview by @sparr [Fixes GH-374]

https://github.com/ruby/ruby/pull/374


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
zzak 2013-08-06 13:39:15 +00:00
Родитель 4bf737cf9d
Коммит 0ea2ae132f
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -1,3 +1,8 @@
Tue Aug 6 22:38:15 2013 Zachary Scott <e@zzak.io>
* time.c: [DOC] Typo in Time overview by @sparr [Fixes GH-374]
https://github.com/ruby/ruby/pull/374
Tue Aug 6 22:35:32 2013 Zachary Scott <e@zzak.io>
* lib/rss/1.0.rb: [DOC] Document RSS110 by Steve Klabnik [Bug #8740]

2
time.c
Просмотреть файл

@ -4839,7 +4839,7 @@ time_load(VALUE klass, VALUE str)
* Time.new(2002) #=> 2002-01-01 00:00:00 -0500
* Time.new(2002, 10) #=> 2002-10-01 00:00:00 -0500
* Time.new(2002, 10, 31) #=> 2002-10-31 00:00:00 -0500
* Time.new(2002, 10, 31, 2, 2, 2, "+02:00") #=> 2002-10-31 02:02:02 -0200
* Time.new(2002, 10, 31, 2, 2, 2, "+02:00") #=> 2002-10-31 02:02:02 +0200
*
* You can also use #gm, #local and
* #utc to infer GMT, local and UTC timezones instead of using