From d28e13187bc31cc1981731707b6d6f97af79a8b1 Mon Sep 17 00:00:00 2001 From: Loetwiek <79059734+Loetwiek@users.noreply.github.com> Date: Mon, 12 Feb 2024 19:47:29 +0100 Subject: [PATCH] feat(tooltip): add tooltip to display exact time on date hover (#3773) Co-authored-by: Loetwiek --- src/components/RequestBlock/index.tsx | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/src/components/RequestBlock/index.tsx b/src/components/RequestBlock/index.tsx index ca8cb5fa..ed4c3ec3 100644 --- a/src/components/RequestBlock/index.tsx +++ b/src/components/RequestBlock/index.tsx @@ -210,13 +210,24 @@ const RequestBlock = ({ request, onUpdate }: RequestBlockProps) => { - - {intl.formatDate(request.createdAt, { + + > + + {intl.formatDate(request.createdAt, { + year: 'numeric', + month: 'long', + day: 'numeric', + })} + + {(request.seasons ?? []).length > 0 && (