From 0ea2ae132fead75aea96a8ae117457aba00e8a96 Mon Sep 17 00:00:00 2001 From: zzak Date: Tue, 6 Aug 2013 13:39:15 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ time.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 17a3d83e87..bb2be8655b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Aug 6 22:38:15 2013 Zachary Scott + + * 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 * lib/rss/1.0.rb: [DOC] Document RSS110 by Steve Klabnik [Bug #8740] diff --git a/time.c b/time.c index c0fca66a29..211fcead07 100644 --- a/time.c +++ b/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