From 49beac847d545ffc8cfb0989e9489565f3884575 Mon Sep 17 00:00:00 2001 From: Ferdy Rodriguez Date: Thu, 30 May 2024 12:23:52 +0200 Subject: [PATCH] lint fix --- app/src/test/java/org/dhis2/bindings/DateExtensionsTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/test/java/org/dhis2/bindings/DateExtensionsTest.kt b/app/src/test/java/org/dhis2/bindings/DateExtensionsTest.kt index b5be6f6284..1e71a87ae0 100644 --- a/app/src/test/java/org/dhis2/bindings/DateExtensionsTest.kt +++ b/app/src/test/java/org/dhis2/bindings/DateExtensionsTest.kt @@ -255,7 +255,7 @@ class DateExtensionsTest { assert(date.toOverdueOrScheduledUiText(resourceManager, currentDate) == "In 3 years") } - private fun currentCalendar() : Calendar { + private fun currentCalendar(): Calendar { TimeZone.setDefault(TimeZone.getTimeZone("UTC")) return Calendar.getInstance(TimeZone.getTimeZone("UTC")).apply { time = "2020-03-02T00:00:00.00Z".toDate()