Skip to content

Commit

Permalink
Revert "Trigger oppgaveinspektør ved oppstart"
Browse files Browse the repository at this point in the history
This reverts commit 687a8e8.
  • Loading branch information
erlingjd committed Feb 20, 2024
1 parent 687a8e8 commit a93b1b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ internal class Oppgaveinspektør(
}
}

private fun midnatt() = LocalDate.now().atStartOfDay().toDate()
private fun midnatt() = LocalDate.now().plusDays(1).atStartOfDay().toDate()

private fun LocalDateTime.toDate(): Date {
return Date.from(this.atZone(ZoneId.systemDefault()).toInstant())
Expand Down

0 comments on commit a93b1b4

Please sign in to comment.