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 1d867ed + 33fc843 commit 0944a92Copy full SHA for 0944a92
src/Tests/Nest.Tests.Unit/Search/Filter/Singles/RangeFilterJson.cs
@@ -1,4 +1,5 @@
1
using System;
2
+using System.Globalization;
3
using NUnit.Framework;
4
using Nest.Tests.MockData.Domain;
5
@@ -147,8 +148,8 @@ public void RangeDatesCustom()
147
148
filter : {
149
range: {
150
""startedOn"": {
- gte: """ + lowerBound.ToString(format) + @""",
151
- lt: """ + upperBound.ToString(format) + @""",
+ gte: """ + lowerBound.ToString(format, CultureInfo.InvariantCulture) + @""",
152
+ lt: """ + upperBound.ToString(format, CultureInfo.InvariantCulture) + @""",
153
}
154
155
0 commit comments