mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-19 05:52:38 +02:00
Use ConvertFrom with invariant culture instead of current culture
This commit is contained in:
parent
dd5e9e3fc6
commit
d4373a2ddb
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ namespace Jellyfin.Extensions.Json.Converters
|
|||
{
|
||||
try
|
||||
{
|
||||
parsedValues[i] = _typeConverter.ConvertFrom(stringEntries[i].Trim()) ?? throw new FormatException();
|
||||
parsedValues[i] = _typeConverter.ConvertFromInvariantString(stringEntries[i].Trim()) ?? throw new FormatException();
|
||||
convertedCount++;
|
||||
}
|
||||
catch (FormatException)
|
||||
|
|
|
|||
Loading…
Reference in a new issue