> On 05 Jan 2016, at 02:06, Alex Jakimenko (via RT) > <perl6-bugs-follo...@perl.org> wrote: > > # New Ticket Created by Alex Jakimenko > # Please include the string: [perl #127160] > # in the subject line of all future correspondence about this issue. > # <URL: https://rt.perl.org/Ticket/Display.html?id=127160 > > > > Code: > say DateTime.now.earlier(years => 15) > > Result: > 2031-01-05T01:57:22.872850+01:00 > > It is a regression, it was working just fine earlier. > > It seems like there are no tests for this particular case (.earlier with > days, months, etc. seems to be fine).
Fixed with 18957e3f98e7830eb0c , tests added with afe667b , can be closed Liz