mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-21 02:31:19 +00:00
Fix #2043
This commit is contained in:
@@ -59,7 +59,6 @@ trait CalculateXOccurrences
|
|||||||
$mutator = clone $date;
|
$mutator = clone $date;
|
||||||
$total = 0;
|
$total = 0;
|
||||||
$attempts = 0;
|
$attempts = 0;
|
||||||
$mutator->addDay(); // always assume today has passed.
|
|
||||||
$dayOfMonth = (int)$moment;
|
$dayOfMonth = (int)$moment;
|
||||||
if ($mutator->day > $dayOfMonth) {
|
if ($mutator->day > $dayOfMonth) {
|
||||||
// day has passed already, add a month.
|
// day has passed already, add a month.
|
||||||
|
|||||||
Reference in New Issue
Block a user