This is more specific and cleaner version of this question - Different DateTimeFormat for dev and test environment
In the Application_BeginRequest() method of global.asax.cs in my ASP.NET MVC project there is code:
Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("en-GB");
When I set a breakpoint on Controller Action I see the following value of Thread.CurrentThread.CurrentCulture:
- In VS dev server - "en-GB"
- In IIS - "en-US"
Question is - What settings in IIS are responsible for this and how can I override it?