Compare commits
2 Commits
0cc9ee51e2
...
24a4bd5204
Author | SHA1 | Date |
---|---|---|
DebaucheryLibrarian | 24a4bd5204 | |
DebaucheryLibrarian | 1ea8e52ab1 |
|
@ -65,7 +65,11 @@
|
||||||
:datetime="movie.effectiveDate.toISOString()"
|
:datetime="movie.effectiveDate.toISOString()"
|
||||||
class="date"
|
class="date"
|
||||||
:class="{ nodate: !movie.date }"
|
:class="{ nodate: !movie.date }"
|
||||||
>{{ format(movie.effectiveDate, movie.effectiveDate.getFullYear() === currentYear ? 'MMM d' : 'MMM d, y') }}</time>
|
>{{ format(movie.effectiveDate, {
|
||||||
|
day: movie.effectiveDate.getFullYear() === currentYear ? 'MMM d' : 'MMM d, y',
|
||||||
|
month: movie.effectiveDate.getFullYear() === currentYear ? 'MMM' : 'MMM y',
|
||||||
|
year: 'y',
|
||||||
|
}[movie.datePrecision]) }}</time>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
|
|
|
@ -75,7 +75,11 @@
|
||||||
:datetime="scene.effectiveDate.toISOString()"
|
:datetime="scene.effectiveDate.toISOString()"
|
||||||
class="date"
|
class="date"
|
||||||
:class="{ nodate: !scene.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>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx-web",
|
"name": "traxxx-web",
|
||||||
"version": "0.27.2",
|
"version": "0.27.3",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"version": "0.27.2",
|
"version": "0.27.3",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@brillout/json-serializer": "^0.5.8",
|
"@brillout/json-serializer": "^0.5.8",
|
||||||
"@dicebear/collection": "^7.0.5",
|
"@dicebear/collection": "^7.0.5",
|
||||||
|
|
|
@ -78,5 +78,5 @@
|
||||||
"postcss-custom-media": "^10.0.2",
|
"postcss-custom-media": "^10.0.2",
|
||||||
"postcss-nesting": "^12.0.2"
|
"postcss-nesting": "^12.0.2"
|
||||||
},
|
},
|
||||||
"version": "0.27.2"
|
"version": "0.27.3"
|
||||||
}
|
}
|
||||||
|
|
|
@ -90,7 +90,11 @@
|
||||||
<time
|
<time
|
||||||
:datetime="movie.effectiveDate.toISOString()"
|
:datetime="movie.effectiveDate.toISOString()"
|
||||||
class="date ellipsis"
|
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>
|
||||||
|
|
||||||
<div class="header">
|
<div class="header">
|
||||||
|
|
|
@ -109,12 +109,20 @@
|
||||||
<time
|
<time
|
||||||
:datetime="scene.effectiveDate.toISOString()"
|
:datetime="scene.effectiveDate.toISOString()"
|
||||||
class="ellipsis compact-hide"
|
class="ellipsis compact-hide"
|
||||||
>{{ formatDate(scene.effectiveDate, 'MMMM d, y') }}</time>
|
>{{ formatDate(scene.effectiveDate, {
|
||||||
|
day: 'MMMM d, y',
|
||||||
|
month: 'MMMM y',
|
||||||
|
year: 'y',
|
||||||
|
}[scene.datePrecision]) }}</time>
|
||||||
|
|
||||||
<time
|
<time
|
||||||
:datetime="scene.effectiveDate.toISOString()"
|
:datetime="scene.effectiveDate.toISOString()"
|
||||||
class="ellipsis compact-show"
|
class="ellipsis compact-show"
|
||||||
>{{ formatDate(scene.effectiveDate, 'MMM d, y') }}</time>
|
>{{ formatDate(scene.effectiveDate, {
|
||||||
|
day: 'MMM d, y',
|
||||||
|
month: 'MMM y',
|
||||||
|
year: 'y',
|
||||||
|
}[scene.datePrecision]) }}</time>
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,7 @@ function curateMovie(rawMovie, assets) {
|
||||||
slug: rawMovie.slug,
|
slug: rawMovie.slug,
|
||||||
url: rawMovie.url,
|
url: rawMovie.url,
|
||||||
date: rawMovie.date,
|
date: rawMovie.date,
|
||||||
|
datePrecision: rawMovie.date_precision,
|
||||||
createdAt: rawMovie.created_at,
|
createdAt: rawMovie.created_at,
|
||||||
effectiveDate: rawMovie.effective_date,
|
effectiveDate: rawMovie.effective_date,
|
||||||
description: rawMovie.description,
|
description: rawMovie.description,
|
||||||
|
|
|
@ -58,6 +58,7 @@ function curateScene(rawScene, assets) {
|
||||||
slug: rawScene.slug,
|
slug: rawScene.slug,
|
||||||
url: rawScene.url,
|
url: rawScene.url,
|
||||||
date: rawScene.date,
|
date: rawScene.date,
|
||||||
|
datePrecision: rawScene.date_precision,
|
||||||
createdAt: rawScene.created_at,
|
createdAt: rawScene.created_at,
|
||||||
effectiveDate: rawScene.effective_date,
|
effectiveDate: rawScene.effective_date,
|
||||||
description: rawScene.description,
|
description: rawScene.description,
|
||||||
|
|
Loading…
Reference in New Issue