Skip to content

Commit 70063f5

Browse files
committed
Trying to keep it consistant.
1 parent 961530e commit 70063f5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/Domain/Pages/PageRanges.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
// See the License for the specific language governing permissions and
1414
// limitations under the License.
1515

16+
using System.Globalization;
1617
using System.Text.RegularExpressions;
1718

1819
namespace Gotenberg.Sharp.API.Client.Domain.Pages;
@@ -92,12 +93,12 @@ private string GetPageRangeString()
9293
}
9394
else
9495
{
95-
ranges.Add(start == end ? start.ToString() : $"{start}-{end}");
96+
ranges.Add(start == end ? start.ToString(CultureInfo.InvariantCulture) : $"{start}-{end}");
9697
start = end = page;
9798
}
9899
}
99100

100-
ranges.Add(start == end ? start.ToString() : $"{start}-{end}");
101+
ranges.Add(start == end ? start.ToString(CultureInfo.InvariantCulture) : $"{start}-{end}");
101102
return string.Join(", ", ranges);
102103
}
103104

0 commit comments

Comments
 (0)