From a172e224c161fd318b412ae5bbf3a90dcc307c30 Mon Sep 17 00:00:00 2001 From: "ext.jeremy.guillot@maxicoffee.domains" Date: Mon, 31 Mar 2025 16:12:22 +0200 Subject: [PATCH] =?UTF-8?q?refactor:=20am=C3=A9lioration=20de=20la=20struc?= =?UTF-8?q?ture=20du=20composant=20MangaCard=20avec=20des=20ajustements=20?= =?UTF-8?q?de=20style=20et=20de=20mise=20en=20page,=20y=20compris=20l'util?= =?UTF-8?q?isation=20de=20thumbnailUrl=20et=20l'optimisation=20des=20class?= =?UTF-8?q?es=20CSS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../presentation/components/MangaCard.vue | 82 +++++++++---------- 1 file changed, 39 insertions(+), 43 deletions(-) diff --git a/assets/vue/app/domain/manga/presentation/components/MangaCard.vue b/assets/vue/app/domain/manga/presentation/components/MangaCard.vue index 143fd9f..a762124 100644 --- a/assets/vue/app/domain/manga/presentation/components/MangaCard.vue +++ b/assets/vue/app/domain/manga/presentation/components/MangaCard.vue @@ -1,52 +1,48 @@ \ No newline at end of file + const formatDate = dateString => { + const date = new Date(dateString); + return date.toLocaleDateString('en-US', { + month: 'short', + day: 'numeric', + year: 'numeric' + }); + }; +