Skip to content

Commit

Permalink
#405 - timezone?
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztofrewak committed Mar 27, 2024
1 parent f99e134 commit be9f5bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Traits/InteractsWithYearPeriods.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function createYearPeriod(int $year): YearPeriod

public function createCurrentYearPeriod(): YearPeriod
{
return $this->createYearPeriod(Carbon::now("1")->year);
return $this->createYearPeriod(Carbon::now()->year);
}

public function markYearPeriodAsSelected(YearPeriod $yearPeriod): void
Expand Down

0 comments on commit be9f5bc

Please sign in to comment.