Project

General

Profile

Actions

Bug #19390

closed

Time.new: Assertion Failed: bignum.c:4187:rb_int_parse_cstr:len != 0

Added by byroot (Jean Boussier) over 1 year ago. Updated over 1 year ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 3.2.0 (2023-01-25 revision a22eca8231), ruby 3.3.0dev (2023-01-30T08:29:31Z master 1c7bf378a1)
[ruby-core:112114]

Description

Can be reproduced with the following snippet:

Time.new("2020-10-28T16:48:07.000Z")

I suspect but haven't confirmed that this bug was introduced in the fix for [Bug #19296] cc @nobu (Nobuyoshi Nakada)

I have a patch for it, I'll open a PR in a couple minutes.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0