Skip to content

Commit

Permalink
ktlint
Browse files Browse the repository at this point in the history
  • Loading branch information
kkocel committed Oct 18, 2023
1 parent 8b82216 commit 7d7f842
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import java.time.OffsetDateTime
class InMemoryExistingTimeLogProvider : ExistingTimeLogProvider {
private val loggedByDay: MutableMap<LocalDate, Duration> = mutableMapOf()

override fun howManyHoursLoggedAlready(day: OffsetDateTime): Duration = loggedByDay[day.toLocalDate()] ?: Duration.ZERO
override fun howManyHoursLoggedAlready(day: OffsetDateTime) = loggedByDay[day.toLocalDate()] ?: Duration.ZERO

fun addLog(
day: OffsetDateTime,
Expand Down

0 comments on commit 7d7f842

Please sign in to comment.