tangled
alpha
login
or
join now
dunkirk.sh
/
smokie
1
fork
atom
a fun bot for the hc slack
1
fork
atom
overview
issues
pulls
pipelines
chore: fix home being in ms not seconds
dunkirk.sh
10 months ago
8a108ce1
d70d81df
verified
This commit was signed with the committer's
known signature
.
dunkirk.sh
SSH Key Fingerprint:
SHA256:DqcG0RXYExE26KiWo3VxJnsxswN1QNfTBvB+bdSpk80=
+2
-2
1 changed file
expand all
collapse all
unified
split
src
features
takes
handlers
home.ts
+2
-2
src/features/takes/handlers/home.ts
···
14
14
.where(eq(usersTable.id, userId))
15
15
)[0];
16
16
17
17
-
const takeTime = prettyPrintTime(userFromDB?.totalTakesTime || 0);
17
17
+
const takeTime = prettyPrintTime((userFromDB?.totalTakesTime ?? 0) * 1000);
18
18
19
19
return {
20
20
text: `You have logged ${takeTime} of takes!`,
···
31
31
type: "section",
32
32
text: {
33
33
type: "mrkdwn",
34
34
-
text: `You have logged ${takeTime} of takes!`,
34
34
+
text: `You have logged \`${takeTime}\` of takes!`,
35
35
},
36
36
},
37
37
{