Carbon::now()->subMonth(1) for 2020-03-30 will end up as 2020-03-01, which simply isn't a month.
Details
Details
- Reviewers
machniak - Group Reviewers
Restricted Project - Commits
- rKd163b25ee470: Use ->addMonthsWithoutOverflow() and ->subMonthsWithoutOverflow()
rK2a108c7afa39: Use ->addMonthsWithoutOverflow() and ->subMonthsWithoutOverflow()
phpunit failed.
apply change.
phpunit succeeds.
Diff Detail
Diff Detail
- Repository
- rK kolab
- Branch
- master
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 28849 Build 10426: arc lint + arc unit