Skip to content

Commit

Permalink
Change deprecated en-EN culture with en-US culture (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
lemiorhan authored Aug 22, 2023
1 parent 380e8cb commit b54ebe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Craftgate/Request/Common/RequestQueryParamsBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit b54ebe3

Please sign in to comment.