Skip to content

Commit

Permalink
feat(ui): show full date when hovering timestamp on zniffer (#4118)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando authored Feb 18, 2025
1 parent d5af88d commit 4ebbbf8
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/views/Zniffer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,18 @@
:mobile-breakpoint="-1"
>
<template v-slot:[`item.timestamp`]="{ item }">
{{ getTimestamp(item.timestamp) }}
<v-tooltip bottom>
<template v-slot:activator="{ on }">
<span v-on="on">{{
getTimestamp(item.timestamp)
}}</span>
</template>
<span>{{
new Date(
item.timestamp,
).toLocaleDateString()
}}</span>
</v-tooltip>
</template>

<template v-slot:[`item.channel`]="{ item }">
Expand Down

0 comments on commit 4ebbbf8

Please sign in to comment.