mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 01:05:19 +03:00
Use ConvertFrom with invariant culture instead of current culture
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user