mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-09 13:44:29 +08:00
add since to dates
This commit is contained in:
parent
d039a4f43c
commit
e15a454df7
1 changed files with 2 additions and 2 deletions
|
|
@ -175,7 +175,7 @@ function updatePendingConnections(): void {
|
|||
item.initiatorUid
|
||||
}?isUid" router-link>${item.initiatorName}</a></td>
|
||||
<td>
|
||||
<span data-balloon-pos="up" aria-label="${format(
|
||||
<span data-balloon-pos="up" aria-label="since ${format(
|
||||
item.lastModified,
|
||||
"dd MMM yyyy HH:mm"
|
||||
)}">
|
||||
|
|
@ -278,7 +278,7 @@ function buildFriendRow(entry: Friend): HTMLTableRowElement {
|
|||
</td>
|
||||
<td><span data-balloon-pos="up" aria-label="${
|
||||
entry.lastModified !== undefined
|
||||
? format(entry.lastModified, "dd MMM yyyy HH:mm")
|
||||
? "since " + format(entry.lastModified, "dd MMM yyyy HH:mm")
|
||||
: ""
|
||||
}">${
|
||||
entry.lastModified !== undefined
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue