Skip to content
This repository was archived by the owner on Feb 15, 2026. It is now read-only.

Commit d28e131

Browse files
LoetwiekLoetwiek
andauthored
feat(tooltip): add tooltip to display exact time on date hover (#3773)
Co-authored-by: Loetwiek <lodommerholtcm@gmail.com>
1 parent 2dd0048 commit d28e131

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

src/components/RequestBlock/index.tsx

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,24 @@ const RequestBlock = ({ request, onUpdate }: RequestBlockProps) => {
210210
<Tooltip content={intl.formatMessage(messages.requestdate)}>
211211
<CalendarIcon className="mr-1.5 h-5 w-5 flex-shrink-0" />
212212
</Tooltip>
213-
<span>
214-
{intl.formatDate(request.createdAt, {
213+
<Tooltip
214+
content={intl.formatDate(request.createdAt, {
215215
year: 'numeric',
216216
month: 'long',
217217
day: 'numeric',
218+
hour: 'numeric',
219+
minute: 'numeric',
220+
second: 'numeric',
218221
})}
219-
</span>
222+
>
223+
<span>
224+
{intl.formatDate(request.createdAt, {
225+
year: 'numeric',
226+
month: 'long',
227+
day: 'numeric',
228+
})}
229+
</span>
230+
</Tooltip>
220231
</div>
221232
</div>
222233
{(request.seasons ?? []).length > 0 && (

0 commit comments

Comments
 (0)