mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 08:32:50 -05:00
set en-US as default current culture
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
@ -19,6 +20,11 @@ namespace Bit.Server
|
||||
"/images/"
|
||||
};
|
||||
|
||||
public Startup()
|
||||
{
|
||||
CultureInfo.DefaultThreadCurrentCulture = new CultureInfo("en-US");
|
||||
}
|
||||
|
||||
public void ConfigureServices(IServiceCollection services)
|
||||
{ }
|
||||
|
||||
|
@ -3,6 +3,7 @@ using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
using System.Globalization;
|
||||
using System.Net.Http;
|
||||
|
||||
namespace Bit.Setup
|
||||
@ -13,6 +14,8 @@ namespace Bit.Setup
|
||||
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
CultureInfo.DefaultThreadCurrentCulture = new CultureInfo("en-US");
|
||||
|
||||
_context = new Context
|
||||
{
|
||||
Args = args
|
||||
|
Reference in New Issue
Block a user