From 722aca54e7fe9ff0df6081fcf6f91f734ae7456a Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Sun, 9 Feb 2025 23:59:03 +0100 Subject: [PATCH] Added two-digit dates to manticore meta to improve search results. --- src/tools/manticore-movies.js | 2 +- src/tools/manticore-scenes.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/manticore-movies.js b/src/tools/manticore-movies.js index 908bd192..a8a4bc31 100644 --- a/src/tools/manticore-movies.js +++ b/src/tools/manticore-movies.js @@ -142,7 +142,7 @@ async function init() { tag_ids: combinedTags.map((tag) => tag.id), tags: flatTags.join(' '), has_cover: movie.has_cover, - meta: movie.date ? format(movie.date, 'y yy M MMM MMMM d') : undefined, + meta: movie.date ? format(movie.date, 'y yy M MM MMM MMMM d dd') : undefined, stashed: movie.stashed || 0, stashed_scenes: movie.stashed_scenes || 0, stashed_total: movie.stashed_total || 0, diff --git a/src/tools/manticore-scenes.js b/src/tools/manticore-scenes.js index 3e27edab..1ad8fcf0 100644 --- a/src/tools/manticore-scenes.js +++ b/src/tools/manticore-scenes.js @@ -170,7 +170,7 @@ async function init() { movies: scene.movies.map((movie) => movie.f2).join(' '), serie_ids: scene.series.map((serie) => serie.f1), series: scene.series.map((serie) => serie.f2).join(' '), - meta: scene.date ? format(scene.date, 'y yy M MMM MMMM d') : undefined, + meta: scene.date ? format(scene.date, 'y yy M MM MMM MMMM d dd') : undefined, stashed: scene.stashed || 0, dupe_index: scene.dupe_index || 0, },