aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/maintenanceApp/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'sdnr/wt/odlux/apps/maintenanceApp/src/utils')
-rw-r--r--sdnr/wt/odlux/apps/maintenanceApp/src/utils/timeUtils.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdnr/wt/odlux/apps/maintenanceApp/src/utils/timeUtils.ts b/sdnr/wt/odlux/apps/maintenanceApp/src/utils/timeUtils.ts
index 676be1a38..0fde5fcad 100644
--- a/sdnr/wt/odlux/apps/maintenanceApp/src/utils/timeUtils.ts
+++ b/sdnr/wt/odlux/apps/maintenanceApp/src/utils/timeUtils.ts
@@ -27,7 +27,7 @@ export function convertToGMTString(dateString: string): string {
'+00:00';
}
-export function convertToLocaleString(rawDate: string| number): string {
+export function convertToLocaleString(rawDate: string | number): string {
const date = new Date(rawDate);
const pad = (n: number) => (n < 10) ? '0' + n : n;
@@ -38,7 +38,7 @@ export function convertToLocaleString(rawDate: string| number): string {
':' + pad(date.getMinutes());
}
-export function convertToISODateString(rawDate: string| number): string {
+export function convertToISODateString(rawDate: string | number): string {
const date = new Date(rawDate);
const displayDate = date.toISOString();
return displayDate.replace(/\.[0-9]{2}/, '.');