We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9a2f364 + db852cf commit 6d49f71Copy full SHA for 6d49f71
src/JsonApiDotNetCore.Annotations/Resources/Internal/RuntimeTypeConverter.cs
@@ -46,7 +46,7 @@ public static class RuntimeTypeConverter
46
return value;
47
}
48
49
- string? stringValue = value.ToString();
+ string? stringValue = value is IFormattable cultureAwareValue ? cultureAwareValue.ToString(null, cultureInfo) : value.ToString();
50
51
if (string.IsNullOrEmpty(stringValue))
52
{
0 commit comments