Skip to content

Commit

Permalink
Retter rekkefølge på parametere ved utregning av duration.
Browse files Browse the repository at this point in the history
  • Loading branch information
stiangre committed Dec 1, 2023
1 parent 242cd75 commit 34f443d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ abstract class LøpendeDurationTransientFeltutleder(
}

val løpendeDuration = if (skalTelleTidPåSisteVersjon) {
akkumulertDuration + Duration.between(input.now, input.oppgave.endretTidspunkt)
akkumulertDuration + Duration.between(input.oppgave.endretTidspunkt, input.now)
} else {
akkumulertDuration
}
Expand Down

0 comments on commit 34f443d

Please sign in to comment.