Skip to content

Commit b301ce0

Browse files
committed
add comment
1 parent 089bbdf commit b301ce0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

impd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,8 @@ sub_conv() {
374374
}
375375

376376
parse_speech_fragments() {
377+
# Note: The function incorrectly parses timestamps on certain locales on certain systems,
378+
# such as sv_SE.UTF-8 on Tuxedo OS. Force the C locale to fix it.
377379
LC_NUMERIC=C awk -F' --> ' -vPADDING="$padding" -vSRT_TIMING_PATTERN="$srt_timing_pattern" '
378380
function time_parts_to_seconds(hours, mins, secs) {
379381
return hours * 3600.0 + mins * 60.0 + secs

0 commit comments

Comments
 (0)