diff --git a/src/android/app/build.gradle b/src/android/app/build.gradle index bf861408..443c62c6 100644 --- a/src/android/app/build.gradle +++ b/src/android/app/build.gradle @@ -1,6 +1,4 @@ -import java.time.LocalDate import java.time.LocalDateTime -import java.time.format.DateTimeFormatter import java.time.temporal.ChronoUnit apply plugin: 'com.android.application' @@ -113,6 +111,6 @@ static def getPrettyDate() { static def getDate() { def startTime = LocalDateTime.of(2020, 1, 1, 0, 0) // this is the time all the versions are based from. - def seconds = Math.round(startTime.until(LocalDateTime.now(), ChronoUnit.SECONDS) / 1000) // seconds since the start time + def seconds = startTime.until(LocalDateTime.now(), ChronoUnit.SECONDS) // seconds since the start time return "${seconds}" }