Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
can't use Date.iso8601 with a string subclass #5252
jruby 18.104.22.168-SNAPSHOT (2.5.0) 2018-07-15 8833646 Java HotSpot(TM) 64-Bit Server VM 10.0.1+10 on 10.0.1+10 +jit [mswin32-x86_64]
#<Date: -4712-01-01 ((0j,0s,0n),+0s,2299161j)>
the actual problem is in the type converter, it's broken since
referenced this issue
Jul 16, 2018
btw: only string class inheritance is relevant, we don't have to check other cases. I don't know if there's a better way how to do this without an if/else statement. Please advice.
#5250 is still relevant, the original problem was a wrong exception class, later I've found this.