Skip to content

Commit

Permalink
fix: use second timestamp for stat
Browse files Browse the repository at this point in the history
  • Loading branch information
Yesterday17 authored Sep 19, 2024
1 parent 98f70b5 commit a2a24b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Player/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const Player: React.FC = () => {
discId,
trackId,
},
at: [Math.round(Date.now()) - PLAYBACK_RECORD_DELAY],
at: [Math.round((Math.round(Date.now()) - PLAYBACK_RECORD_DELAY) / 1000)],
});
}
}, PLAYBACK_RECORD_DELAY);
Expand Down

0 comments on commit a2a24b2

Please sign in to comment.