[#82311] [Ruby trunk Bug#13794] Infinite loop of sched_yield — charlie@...
Issue #13794 has been reported by catphish (Charlie Smurthwaite).
4 messages
2017/08/09
[#82518] [Ruby trunk Feature#13618] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid — mame@...
Issue #13618 has been updated by mame (Yusuke Endoh).
5 messages
2017/08/30
[#82552] Re: [Ruby trunk Feature#13618] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
— Eric Wong <normalperson@...>
2017/08/31
mame@ruby-lang.org wrote:
[#82756] Re: [Ruby trunk Feature#13618] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
— Eric Wrong <normalperson@...>
2017/09/12
Eric Wrong <normalperson@yhbt.net> wrote:
[ruby-core:82372] [Ruby trunk Misc#13810][Feedback] Inconsistency between Date and Time.strftime("%v")
From:
nobu@...
Date:
2017-08-14 00:20:37 UTC
List:
ruby-core #82372
Issue #13810 has been updated by nobu (Nobuyoshi Nakada).
Status changed from Open to Feedback
At r31672, date changed it but no description or rationale.
> * ext/date/date_strftime(date_strftime_with_tmx): "%v" means "%e-%b-%Y".
Does anybody have any pointers?
----------------------------------------
Misc #13810: Inconsistency between Date and Time.strftime("%v")
https://bugs.ruby-lang.org/issues/13810#change-66167
* Author: osteele (Oliver Steele)
* Status: Feedback
* Priority: Normal
* Assignee:
----------------------------------------
This seems odd. Each function matches its documentation, but the document and implementation of `Date.strftime("%v")` differs from the documentation and implementations of `Time.strftime("%v")` and `DateTime.strftime("%v")`.
```
ruby --version
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
```
```
require 'time'
# https://ruby-doc.org/stdlib-2.4.1/libdoc/date/rdoc/Date.html#method-i-strftime
# %v - VMS date (%e-%b-%Y)
d = Date.iso8601 "2006-01-02T15:04:05-05:00"
puts d.strftime("%v") # -> 2-Jan-2006
puts d.strftime("%e-%b-%Y") # -> 2-Jan-2006
# https://ruby-doc.org/stdlib-2.4.1/libdoc/date/rdoc/DateTime.html#method-i-strftime
# %v - VMS date (%e-%b-%Y)
dt = DateTime.iso8601 "2006-01-02T15:04:05-05:00"
puts dt.strftime("%v") # -> 2-Jan-2006
puts dt.strftime("%e-%b-%Y") # -> 2-Jan-2006
# https://ruby-doc.org/core-2.4.1/Time.html#method-i-strftime
# %v - VMS date (%e-%^b-%4Y)
t = Time.iso8601 "2006-01-02T15:04:05-05:00"
puts t.strftime("%v") # 2-JAN-2006
puts t.strftime("%e-%^b-%4Y") # 2-JAN-2006
```
--
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>