Skip to content

Commit

Permalink
Fix bug in DatedMOnth
Browse files Browse the repository at this point in the history
  • Loading branch information
nymanjens committed Nov 1, 2024
1 parent 0bf6896 commit 72855e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/shared/src/main/scala/app/common/time/DatedMonth.scala
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ object DatedMonth {
monthsInClosedRange(
DatedMonth.of(year.startYear, startMonth),
DatedMonth.of(year.startYear + 1, startMonth),
)
).take(12)
}

def monthsInClosedRange(start: DatedMonth, endInclusive: DatedMonth): Seq[DatedMonth] = {
Expand Down

0 comments on commit 72855e1

Please sign in to comment.