From: "tadf (tadayoshi funaba)" Date: 2012-08-22T19:47:24+09:00 Subject: [ruby-core:47274] [ruby-trunk - Bug #6902][Closed] Ruby DateTime Documentation Errata Issue #6902 has been updated by tadf (tadayoshi funaba). Status changed from Open to Closed ---------------------------------------- Bug #6902: Ruby DateTime Documentation Errata https://bugs.ruby-lang.org/issues/6902#change-28975 Author: tobiasoleary (Tobias O'Leary) Status: Closed Priority: Low Assignee: Category: DOC Target version: 1.9.3 ruby -v: ruby 1.9.3p194 DateTime documentation has a slight error. See http://www.ruby-doc.org/stdlib-1.9.3/libdoc/date/rdoc/DateTime.html The documents lists this expression and it's corresponding value: DateTime.new(2001,2,3,4,5,6,'+03:00') #=> # This is incorrect running in irb I receive this: irb(main):004:0> DateTime.new(2001,2,3,4,5,6,'+03:00') => # Notice the hours differ. -- http://bugs.ruby-lang.org/