mirror of https://github.com/jellyfin/jellyfin.git
Use ConvertFrom with invariant culture instead of current culture
This commit is contained in:
parent
dd5e9e3fc6
commit
d4373a2ddb
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue