mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-05 18:48:41 +00:00
fix: improve paste description
This commit is contained in:
@@ -508,7 +508,7 @@
|
||||
>
|
||||
{#if data.paste}
|
||||
{@const pasteDescription = `A ${syntaxes[data.paste.syntax].name} paste on Sharpbin created by ${
|
||||
data.paste.author ? data.paste.author.username : 'Anonymous'
|
||||
data.paste.author ? data.paste.author.username : 'an anonymous user'
|
||||
}, created on ${
|
||||
extractDateFromUUIDv7(data.paste.uuid)?.toLocaleDateString() ?? 'Unknown Date'
|
||||
} with ${data.paste.views} view${data.paste.views !== 1 ? 's' : ''}.`}
|
||||
|
||||
Reference in New Issue
Block a user