Fixed date failing for minute and hour date precision.

This commit is contained in:
2024-08-20 02:43:23 +02:00
parent 0ca847a878
commit 80d6216790
4 changed files with 4 additions and 8 deletions

View File

@@ -76,10 +76,9 @@
class="date"
:class="{ nodate: !scene.date }"
>{{ format(scene.effectiveDate, {
day: 'MMM d, y',
month: 'MMM y',
year: 'y',
}[scene.datePrecision]) }}</time>
}[scene.datePrecision] || 'MMM d, y') }}</time>
</Link>
</div>