Skip to content

Commit

Permalink
Add full date/time as title
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsOnlyBinary committed Oct 19, 2023
1 parent 044d3af commit 6086710
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/ChannelBanlist.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
<div
:key="'when' + ban.banned"
class="kiwi-sidebar-settings-access-when"
:title="(new Date(ban.banned_at * 1000)).toLocaleString({
year: 'numeric', month: '2-digit', day: '2-digit'
})"
>
{{
(new Date(ban.banned_at * 1000)).toLocaleDateString({
Expand Down
3 changes: 3 additions & 0 deletions src/components/ChannelInvitelist.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@
<div
:key="'when' + invite.invited"
class="kiwi-sidebar-settings-access-when"
:title="(new Date(invite.invited_at * 1000)).toLocaleString({
year: 'numeric', month: '2-digit', day: '2-digit'
})"
>
{{
(new Date(invite.invited_at * 1000)).toLocaleDateString({
Expand Down

0 comments on commit 6086710

Please sign in to comment.