Bug #6902
Ruby DateTime Documentation Errata
Description
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.
Updated by tadf (tadayoshi funaba) over 8 years ago
- Status changed from Open to Closed