[#84280] [Ruby trunk Bug#14181] hangs or deadlocks from waitpid, threads, and trapping SIGCHLD — nobu@...
Issue #14181 has been updated by nobu (Nobuyoshi Nakada).
3 messages
2017/12/15
[#84398] [Ruby trunk Bug#14220] WEBrick changes - failures on MSWIN, MinGW — Greg.mpls@...
Issue #14220 has been reported by MSP-Greg (Greg L).
3 messages
2017/12/22
[#84472] Re: [ruby-dev:50394] [Ruby trunk Bug#14240] warn four special variables: $; $, $/ $\ — Eric Wong <normalperson@...>
Shouldn't English posts be on ruby-core instead of ruby-dev?
3 messages
2017/12/26
[ruby-core:84368] [Ruby trunk Bug#10936] Error in Rubydoc for DateTime#rfc3339
From:
nagachika00@...
Date:
2017-12-20 14:57:50 UTC
List:
ruby-core #84368
Issue #10936 has been updated by nagachika (Tomoyuki Chikanaga).
Backport changed from 2.2: DONE, 2.3: REQUIRED, 2.4: REQUIRED to 2.2: DONE, 2.3: REQUIRED, 2.4: DONE
ruby_2_4 r61365 merged revision(s) 58020.
----------------------------------------
Bug #10936: Error in Rubydoc for DateTime#rfc3339
https://bugs.ruby-lang.org/issues/10936#change-68557
* Author: andirayo ((Andreas) Rayo Kniep)
* Status: Closed
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: 2.1.5
* Backport: 2.2: DONE, 2.3: REQUIRED, 2.4: DONE
----------------------------------------
There is an error in the Ruby-documentation of instance method #rfc3339 of class DateTime (eg. Ruby-version 2.1.5)
rfc3339() is actually equivalent to strftime(‘%FT%T%Z’)...
... and not, as it says in the Ruby-documentation, to strftime(‘%FT%T’).
See
http://ruby-doc.org//stdlib-2.1.5/libdoc/date/rdoc/DateTime.html#method-i-rfc3339
Compare
~~~
irb(main):001:0> require 'date'
=> true
irb(main):002:0> DateTime.new( 2015, 03, 04, 15, 00, 00, 'PST' ).rfc3339 == DateTime.new( 2015, 03, 04, 15, 00, 00, 'PST' ).strftime('%FT%T%Z')
=> true
irb(main):003:0> DateTime.new( 2015, 03, 04, 15, 00, 00, 'PST' ).rfc3339 == DateTime.new( 2015, 03, 04, 15, 00, 00, 'PST' ).strftime('%FT%T')
=> false
~~~
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>