aboutsummaryrefslogtreecommitdiff
path: root/src/lib/profile.ts
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-03-19 22:52:20 -0500
committermat <github@matdoes.dev>2022-03-19 22:52:20 -0500
commitce2230a67a72b9850b37576cb441a56ff3b71ee8 (patch)
treef61d7577089e129fee0185fafabc540ac6340c6a /src/lib/profile.ts
parent5937ac8c91a15e6bc8daf8d259eb9cd842b86d86 (diff)
downloadskyblock-stats-ce2230a67a72b9850b37576cb441a56ff3b71ee8.tar.gz
skyblock-stats-ce2230a67a72b9850b37576cb441a56ff3b71ee8.tar.bz2
skyblock-stats-ce2230a67a72b9850b37576cb441a56ff3b71ee8.zip
Add favicon + misc fixes
Diffstat (limited to 'src/lib/profile.ts')
-rw-r--r--src/lib/profile.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/profile.ts b/src/lib/profile.ts
index 256dc24..cba7923 100644
--- a/src/lib/profile.ts
+++ b/src/lib/profile.ts
@@ -14,9 +14,9 @@ export function prettyTimestamp(ms: number) {
export function generateInfobox(data: CleanMemberProfile): string[] {
const result: string[] = []
- result.push(`💾 Last save: ${prettyTimestamp(data.member.lastSave * 1000)}`)
+ result.push(`💾 Last save: ${prettyTimestamp(data.member.lastSave)}`)
- result.push(`🚶 Profile created: ${prettyTimestamp(data.member.firstJoin * 1000)}`)
+ result.push(`🚶 Profile created: ${prettyTimestamp(data.member.firstJoin)}`)
result.push(`✨ Fairy souls: ${data.member.fairySouls.total}/${data.member.fairySouls.max}`)