diff --git a/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/util/TimeAndDateExtensions.kt b/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/util/TimeAndDateExtensions.kt index 6c527091838899259f834a2fcd9f5efaca955f6f..2970fbb254cc8713326064105d3df86d5af1b9b5 100644 --- a/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/util/TimeAndDateExtensions.kt +++ b/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/util/TimeAndDateExtensions.kt @@ -61,7 +61,6 @@ object TimeAndDateExtensions { */ fun calculateDays(firstDate: Long, secondDate: Long): Long { val millionSeconds = secondDate - firstDate - val days = TimeUnit.MILLISECONDS.toDays(millionSeconds) - return days + return TimeUnit.MILLISECONDS.toDays(millionSeconds) } }