misc: make numeric: always
This commit is contained in:
1 parent
1400779b18
commit
e535eaa062
2 files changed
+1
-2
No files matched your search
@@ -6,7 +6,6 @@
|
|||||||
export let user: Person
|
export let user: Person
|
||||||
export let avatar: boolean = false
|
export let avatar: boolean = false
|
||||||
export let avatarSize = 24
|
export let avatarSize = 24
|
||||||
export let badges = true
|
|
||||||
|
|
||||||
function linkFromCommunity(user: Person) {
|
function linkFromCommunity(user: Person) {
|
||||||
const domain = new URL(user.actor_id).hostname
|
const domain = new URL(user.actor_id).hostname
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
export let date: Date
|
export let date: Date
|
||||||
export let relativeTo: Date | undefined = undefined
|
export let relativeTo: Date | undefined = undefined
|
||||||
export let options: Intl.RelativeTimeFormatOptions = {
|
export let options: Intl.RelativeTimeFormatOptions = {
|
||||||
numeric: 'auto',
|
numeric: 'always',
|
||||||
style: 'narrow',
|
style: 'narrow',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user