From 72d2cfae27a2a7aee1c3af58cc4954678329a18f Mon Sep 17 00:00:00 2001 From: Giovanni-Josserand Date: Thu, 19 Mar 2026 16:58:21 +0100 Subject: [PATCH] resolve datetime conflict for notifications --- src/components/NotificationCard/NotificationCard.tsx | 2 +- src/utils/date/formatDate.ts | 4 +++- src/utils/date/formatTime.ts | 2 +- src/utils/echo/listeners/adminNotificationsListener.js | 2 +- src/utils/echo/listeners/userNotificationsListener.js | 7 ++++++- 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/components/NotificationCard/NotificationCard.tsx b/src/components/NotificationCard/NotificationCard.tsx index b1baa66..5412b0d 100644 --- a/src/components/NotificationCard/NotificationCard.tsx +++ b/src/components/NotificationCard/NotificationCard.tsx @@ -14,7 +14,7 @@ function NotificationCard({ notifications, deleteNotification }: NotificationCar
- Le {formatDate(String(notification.created_at))} à {formatTime(String(notification.created_at))} + Le {formatDate(notification.created_at)} à {formatTime(notification.created_at)}