From 3d339c0f233864d54a6f1ef628e98fe7eeab0113 Mon Sep 17 00:00:00 2001 From: Lemi Orhan Ergin Date: Tue, 22 Aug 2023 18:06:39 +0300 Subject: [PATCH] Change deprecated en-EN culture with en-US culture --- Craftgate/Request/Common/RequestQueryParamsBuilder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Craftgate/Request/Common/RequestQueryParamsBuilder.cs b/Craftgate/Request/Common/RequestQueryParamsBuilder.cs index 14b12e0..269f7af 100644 --- a/Craftgate/Request/Common/RequestQueryParamsBuilder.cs +++ b/Craftgate/Request/Common/RequestQueryParamsBuilder.cs @@ -29,7 +29,7 @@ public static string BuildQueryParam(object request) private static string FormatValue(object value) { if (value is DateTime time) return FormatDateValue(time); - if (value is Decimal @decimal) return @decimal.ToString(new CultureInfo("en-EN")); + if (value is Decimal @decimal) return @decimal.ToString(new CultureInfo("en-US")); if (IsICollection(value.GetType())) return FormatCollection(value as IEnumerable); return value.ToString(); }