New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DateTime methods .earlier and .later allow negative years, days, seconds but not months (.earlier(months => -1)) #4994
Comments
From @AlexDanielThese are not working: Code: Result: Code: Result: But all these do: Code: Code: Code: Code: Personally I think that negative values should be allowed (so |
From @lizmat
$ 6 'say DateTime.new(‘2016-01-31T05:00:00Z’).earlier(months => -1)' Fixed with d80c728e257dbe17384c4 , test unfudged with 233d409 , can be closed. Liz |
The RT System itself - Status changed from 'new' to 'open' |
From @usev6On Tue Jan 05 03:55:57 2016, elizabeth wrote:
Thanks! I'm closing this ticket as 'resolved'. |
@usev6 - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#127161 (status was 'resolved')
Searchable as RT127161$
The text was updated successfully, but these errors were encountered: