We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf2869c commit 6b09362Copy full SHA for 6b09362
1 file changed
ASCOM.Alpaca.Simulators/Startup.cs
@@ -8,6 +8,7 @@
8
using Microsoft.Extensions.Hosting;
9
using Microsoft.OpenApi.Models;
10
using System;
11
+using System.Globalization;
12
using System.Linq;
13
using System.Net;
14
@@ -71,6 +72,9 @@ public void ConfigureServices(IServiceCollection services)
71
72
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
73
public void Configure(IApplicationBuilder app, IWebHostEnvironment env, IHostApplicationLifetime lifetime)
74
{
75
+ CultureInfo.DefaultThreadCurrentCulture = CultureInfo.InvariantCulture;
76
+ CultureInfo.DefaultThreadCurrentUICulture = CultureInfo.InvariantCulture;
77
+
78
//Use Development exceptions if in development mode. These are disabled in production for security.
79
if (env.IsDevelopment())
80
0 commit comments