Accounting for date precision in scene and movie pages and tiles.
This commit is contained in:
@@ -75,7 +75,11 @@
|
||||
:datetime="scene.effectiveDate.toISOString()"
|
||||
class="date"
|
||||
:class="{ nodate: !scene.date }"
|
||||
>{{ format(scene.effectiveDate, 'MMM d, y') }}</time>
|
||||
>{{ format(scene.effectiveDate, {
|
||||
day: 'MMM d, y',
|
||||
month: 'MMM y',
|
||||
year: 'y',
|
||||
}[scene.datePrecision]) }}</time>
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user