Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Commit f5c0e99

Browse files
committed
Fixed timestamp bug in saved chat logs
1 parent 71b8936 commit f5c0e99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/electron/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,7 @@ function getMiniMenuTemplate() {
11061106

11071107
function formatDuration(i) {
11081108
var sec = Math.floor((i / 1000) % 60),
1109-
min = Math.floor((i / 1000) / 60),
1109+
min = Math.floor((i / 1000) / 60) % 60,
11101110
hour = Math.floor((i / 1000) / 3600)
11111111

11121112
return ((hour < 10 ? '0' : '') + hour + ':' +

0 commit comments

Comments
 (0)