Skip to content

Commit

Permalink
recent pastes to show dateCreated on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
querwurzel committed Oct 22, 2023
1 parent 2d27ba5 commit 0724fce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/RecentPastes/RecentPastes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const RecentPastes: () => JSX.Element = () => {
<For each={pastes()}>{item =>
<li class={styles.item}>
<p><A href={'/paste/' + item.id}>{item.title || 'Untitled' }</A> <Show when={!item.dateOfExpiry} keyed><em><Infinity/></em></Show> <Show when={item.isEncrypted} keyed><Lock/></Show></p>
<p>Created: {relativeDiffLabel(item.dateCreated)} | Size: {item.sizeInBytes} bytes</p>
<p>Created: <time title={toDateTimeString(item.dateCreated)}>{relativeDiffLabel(item.dateCreated)}</time> | Size: {item.sizeInBytes} bytes</p>
</li>
}
</For>
Expand Down

0 comments on commit 0724fce

Please sign in to comment.