Skip to content

Commit

Permalink
fix: calc properly ms to s
Browse files Browse the repository at this point in the history
  • Loading branch information
403-html committed Jan 27, 2022
1 parent dca1ea8 commit cb7393c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const mdTemplate = ({
? `> Run start date: ${new Date(startDate).toLocaleString()} \n`
: "";
const genDuration = showDuration
? `> Duration: ${Math.round(duration / 60)}s \n`
? `> Duration: ${Math.round(duration / 1000)}s \n`
: "";

const genStats = showStats
Expand Down

0 comments on commit cb7393c

Please sign in to comment.