General

Profile

aliism (Ali Ismayilov)

  • Login: aliism
  • Registered on: 07/31/2019
  • Last sign in: 06/16/2022

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 0 1

Activity

07/31/2019

03:18 PM Ruby Feature #16031 (Open): Raise ArgumentError when creating Time objects with invalid day of month, instead of rolling into next month
When parsing an invalid date, like February 31 or November 31, I get different results from Date and Time classes.
``` ruby
require 'date'
require 'time'
Date.strptime('2019-02-31', '%Y-%m-%d')
# Traceback (most recent call last):...
aliism (Ali Ismayilov)

Also available in: Atom