mirror of
https://github.com/ArthurDanjou/website.git
synced 2026-01-14 12:14:42 +01:00
Fix date problem
This commit is contained in:
@@ -14,7 +14,7 @@ function formatTodayDate(date: string) {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<UBadge v-if="startDate === endDate" variant="soft" size="xs">
|
||||
<UBadge v-if="startDate !== endDate" variant="soft" size="xs">
|
||||
{{ formatTodayDate(startDate!.toString()) }} — {{ formatTodayDate(endDate) }}
|
||||
</UBadge>
|
||||
<UBadge v-else variant="soft" size="xs">
|
||||
|
||||
Reference in New Issue
Block a user