jellyfin/MediaBrowser.MediaEncoding
Nils Lehnen f8ffccae7f Use InvariantCulture when parsing machine-generated dates
DateTime.TryParse without an IFormatProvider falls back to the current
thread culture, so the same string can parse differently (or fail)
depending on the server's locale. None of these call sites deal with
user-entered text - they parse dates that come from filenames, an
HTTP header, ffprobe metadata and values the app itself wrote to the
auth database - so InvariantCulture is the correct provider everywhere
here.

Fixes the S6580 / CA1305 warnings on these call sites.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-04 23:55:31 +02:00
..
Attachments Extract attachments in one ffmpeg command when dumping 2026-05-23 22:41:44 +02:00
BdInfo Backport pull request #15582 from jellyfin/release-10.11.z 2025-12-03 14:04:24 -05:00
Configuration Validate encoder path (#14996) 2025-10-13 14:16:05 -06:00
Encoder Strip null-terminator 2026-06-16 17:54:23 +02:00
Probing Use InvariantCulture when parsing machine-generated dates 2026-07-04 23:55:31 +02:00
Properties Add tests for EncoderValidator 2019-09-28 19:41:34 +02:00
Subtitles Merge remote-tracking branch 'upstream/master' into fix-external-sub-invalidation 2026-06-05 23:41:05 +02:00
Transcoding Merge pull request #15926 from abitofevrything/feat/accurate_hls_seeking 2026-01-18 12:17:06 +01:00
MediaBrowser.MediaEncoding.csproj Follow native interoperability best practices 2026-06-15 21:01:28 +02:00