subtitles timing shift: fix  handling of negative values and non-English locales