Skip to content

Commit

Permalink
Fix timestamp parsing in certain locales (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daja177 authored Nov 5, 2024
1 parent 68d6f80 commit 089bbdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion impd
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ sub_conv() {
}

parse_speech_fragments() {
awk -F' --> ' -vPADDING="$padding" -vSRT_TIMING_PATTERN="$srt_timing_pattern" '
LC_NUMERIC=C awk -F' --> ' -vPADDING="$padding" -vSRT_TIMING_PATTERN="$srt_timing_pattern" '
function time_parts_to_seconds(hours, mins, secs) {
return hours * 3600.0 + mins * 60.0 + secs
}
Expand Down

0 comments on commit 089bbdf

Please sign in to comment.