From 2d7b58dee1cf93461bec3869dba55403ed11a803 Mon Sep 17 00:00:00 2001 From: Puvikaran Santhirasegaram <74664443+Puvikaran2001@users.noreply.github.com> Date: Wed, 8 May 2024 15:05:41 +0200 Subject: [PATCH] Update Dateformat.kt --- .../dk/scheduling/schedulingfrontend/components/Dateformat.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/app/src/main/java/dk/scheduling/schedulingfrontend/components/Dateformat.kt b/frontend/app/src/main/java/dk/scheduling/schedulingfrontend/components/Dateformat.kt index 9e937ea3..812ba40c 100644 --- a/frontend/app/src/main/java/dk/scheduling/schedulingfrontend/components/Dateformat.kt +++ b/frontend/app/src/main/java/dk/scheduling/schedulingfrontend/components/Dateformat.kt @@ -5,5 +5,5 @@ import java.util.Locale val DATE_FORMATTER: DateTimeFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss") val DATE_FORMAT: DateTimeFormatter = DateTimeFormatter.ofPattern("MMM dd", Locale.ENGLISH) -val TIME_FORMAT: DateTimeFormatter = DateTimeFormatter.ofPattern("hh:mm a", Locale.ENGLISH) -val DATE_AND_TIME_FORMAT: DateTimeFormatter = DateTimeFormatter.ofPattern("MMM dd hh:mm a", Locale.ENGLISH) +val TIME_FORMAT: DateTimeFormatter = DateTimeFormatter.ofPattern("HH:mm") +val DATE_AND_TIME_FORMAT: DateTimeFormatter = DateTimeFormatter.ofPattern("MMM dd HH:mm")