Use ConvertFrom with invariant culture instead of current culture

This commit is contained in:
Bond_009 2021-10-01 10:54:06 +02:00
parent dd5e9e3fc6
commit d4373a2ddb
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ namespace Jellyfin.Extensions.Json.Converters
{ {
try try
{ {
parsedValues[i] = _typeConverter.ConvertFrom(stringEntries[i].Trim()) ?? throw new FormatException(); parsedValues[i] = _typeConverter.ConvertFromInvariantString(stringEntries[i].Trim()) ?? throw new FormatException();
convertedCount++; convertedCount++;
} }
catch (FormatException) catch (FormatException)