From 88611994009558d7319456f9baf81e8d9d1e2334 Mon Sep 17 00:00:00 2001 From: Ferdy Rodriguez Date: Thu, 30 May 2024 10:40:30 +0200 Subject: [PATCH] testing log in test --- app/src/test/java/org/dhis2/bindings/DateExtensionsTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/test/java/org/dhis2/bindings/DateExtensionsTest.kt b/app/src/test/java/org/dhis2/bindings/DateExtensionsTest.kt index 9a446af3a0..3785668e66 100644 --- a/app/src/test/java/org/dhis2/bindings/DateExtensionsTest.kt +++ b/app/src/test/java/org/dhis2/bindings/DateExtensionsTest.kt @@ -261,8 +261,8 @@ class DateExtensionsTest { } private fun currentCalendar() : Calendar { - TimeZone.setDefault(TimeZone.getTimeZone("UTC")) - return Calendar.getInstance(TimeZone.getTimeZone("UTC")).apply { + TimeZone.setDefault(TimeZone.getTimeZone("CET")) + return Calendar.getInstance(TimeZone.getTimeZone("CET")).apply { time = "2020-03-02T00:00:00.00Z".toDate() } }