Compare commits

..

No commits in common. "24a4bd520475bbf5bf4ff39ad5e9c64cd511fcae" and "0cc9ee51e2654b8f4c0027764e78ed62caee293b" have entirely different histories.

8 changed files with 8 additions and 30 deletions

View File

@ -65,11 +65,7 @@
:datetime="movie.effectiveDate.toISOString()"
class="date"
:class="{ nodate: !movie.date }"
>{{ 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>
>{{ format(movie.effectiveDate, movie.effectiveDate.getFullYear() === currentYear ? 'MMM d' : 'MMM d, y') }}</time>
</div>
<a

View File

@ -75,11 +75,7 @@
:datetime="scene.effectiveDate.toISOString()"
class="date"
:class="{ nodate: !scene.date }"
>{{ format(scene.effectiveDate, {
day: 'MMM d, y',
month: 'MMM y',
year: 'y',
}[scene.datePrecision]) }}</time>
>{{ format(scene.effectiveDate, 'MMM d, y') }}</time>
</Link>
</div>

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{
"name": "traxxx-web",
"version": "0.27.3",
"version": "0.27.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"version": "0.27.3",
"version": "0.27.2",
"dependencies": {
"@brillout/json-serializer": "^0.5.8",
"@dicebear/collection": "^7.0.5",

View File

@ -78,5 +78,5 @@
"postcss-custom-media": "^10.0.2",
"postcss-nesting": "^12.0.2"
},
"version": "0.27.3"
"version": "0.27.2"
}

View File

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

View File

@ -109,20 +109,12 @@
<time
:datetime="scene.effectiveDate.toISOString()"
class="ellipsis compact-hide"
>{{ formatDate(scene.effectiveDate, {
day: 'MMMM d, y',
month: 'MMMM y',
year: 'y',
}[scene.datePrecision]) }}</time>
>{{ formatDate(scene.effectiveDate, 'MMMM d, y') }}</time>
<time
:datetime="scene.effectiveDate.toISOString()"
class="ellipsis compact-show"
>{{ formatDate(scene.effectiveDate, {
day: 'MMM d, y',
month: 'MMM y',
year: 'y',
}[scene.datePrecision]) }}</time>
>{{ formatDate(scene.effectiveDate, 'MMM d, y') }}</time>
</Link>
</div>

View File

@ -22,7 +22,6 @@ function curateMovie(rawMovie, assets) {
slug: rawMovie.slug,
url: rawMovie.url,
date: rawMovie.date,
datePrecision: rawMovie.date_precision,
createdAt: rawMovie.created_at,
effectiveDate: rawMovie.effective_date,
description: rawMovie.description,

View File

@ -58,7 +58,6 @@ function curateScene(rawScene, assets) {
slug: rawScene.slug,
url: rawScene.url,
date: rawScene.date,
datePrecision: rawScene.date_precision,
createdAt: rawScene.created_at,
effectiveDate: rawScene.effective_date,
description: rawScene.description,