Accounting for date precision in scene and movie pages and tiles.

This commit is contained in:
2024-08-19 23:31:28 +02:00
parent 0cc9ee51e2
commit 1ea8e52ab1
6 changed files with 27 additions and 5 deletions

View File

@@ -90,7 +90,11 @@
<time
:datetime="movie.effectiveDate.toISOString()"
class="date ellipsis"
>{{ formatDate(movie.effectiveDate, 'MMMM d, y') }}</time>
>{{ formatDate(movie.effectiveDate, {
day: 'MMMM d, y',
month: 'MMMM y',
year: 'y',
}[movie.datePrecision]) }}</time>
</div>
<div class="header">