Fix date problem

This commit is contained in:
2023-09-05 00:08:23 +02:00
parent 9d66355a6e
commit 90dcd808d9

View File

@@ -14,7 +14,7 @@ function formatTodayDate(date: string) {
</script> </script>
<template> <template>
<UBadge v-if="startDate === endDate" variant="soft" size="xs"> <UBadge v-if="startDate !== endDate" variant="soft" size="xs">
{{ formatTodayDate(startDate!.toString()) }} {{ formatTodayDate(endDate) }} {{ formatTodayDate(startDate!.toString()) }} {{ formatTodayDate(endDate) }}
</UBadge> </UBadge>
<UBadge v-else variant="soft" size="xs"> <UBadge v-else variant="soft" size="xs">