cyclotron3k (A Samuel)
- Login: cyclotron3k
- Registered on: 11/13/2017
- Last sign in: 11/13/2017
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
11/13/2017
-
08:03 AM Ruby Bug #14102: Date.strptime ignores constraints provided by day name
- jeremyevans0 (Jeremy Evans) wrote:
> Doesn't fail because %d takes precedence over %A.
The point I was trying to make was that they are all invalid dates, and so I would expect all of them to raise errors.
Your explanation of dire... -
01:02 AM Ruby Bug #14102 (Rejected): Date.strptime ignores constraints provided by day name
- ~~~ ruby
RUBY_VERSION
=> "2.4.2" # also tested in 2.5.0
require 'date'
=> true
Date.strptime('Potato, November 13, 2017', '%A, %B %d, %Y').strftime('%A, %B %d, %Y')
=> ArgumentError: invalid date
Date.strptime('Friday, Novem...