Skip to content

Commit

Permalink
Merge pull request #2570 from stakwork/feature/milliseconds-to-seconds
Browse files Browse the repository at this point in the history
feat: changes mls to sec for transcript clips
  • Loading branch information
Rassl authored Dec 23, 2024
2 parents 4877ba1 + 231bd2d commit 0cbacca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const Transcript = ({ name }: Props) => {
? (timestamp as string).split('-').map(Number) // Directly convert to numbers
: [0, 0]

if (start <= currentTime * 1000 && currentTime * 1000 < end) {
if (start <= currentTime && currentTime < end) {
// Multiply playingTime by 1000 to match millisecond format
return (
<TranscriptWrapper key={clip.ref_id} direction="row">
Expand Down

0 comments on commit 0cbacca

Please sign in to comment.