1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
parent 4bf737cf9d
commit 0ea2ae132f
2 changed files with 6 additions and 1 deletions

View file

@ -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
View file

@ -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