diff --git a/resources/js/components/SMEventCard.vue b/resources/js/components/SMEventCard.vue index 130a340..faea303 100644 --- a/resources/js/components/SMEventCard.vue +++ b/resources/js/components/SMEventCard.vue @@ -8,7 +8,7 @@ :style="{ backgroundImage: `url('${mediaGetVariantUrl( props.event.hero, - 'medium' + 'medium', )}')`, }">
{ * @returns The converted string. */ const formatDateDay = (date: string) => { - return new SMDate(date, { format: "yMd" }).format("dd"); + return new SMDate(date, { format: "yMd", utc: true }).format("dd"); }; /** @@ -150,7 +150,7 @@ const formatDateDay = (date: string) => { * @returns The converted string. */ const formatDateMonth = (date: string) => { - return new SMDate(date, { format: "yMd" }).format("MMM"); + return new SMDate(date, { format: "yMd", utc: true }).format("MMM"); }; /**