From e5d3d7d15dd769dd5ad46afd2832d367297ef66b Mon Sep 17 00:00:00 2001 From: West14 <30056636+West14@users.noreply.github.com> Date: Mon, 3 Jan 2022 15:08:14 +0200 Subject: [PATCH] Attempt to fix case insensitive matching. --- Core/Program.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Core/Program.cs b/Core/Program.cs index 30931b0..9af553b 100644 --- a/Core/Program.cs +++ b/Core/Program.cs @@ -1,3 +1,4 @@ +using System.Globalization; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; @@ -7,6 +8,8 @@ namespace Kruzya.TelegramBot.Core { public static void Main(string[] args) { + CultureInfo.CurrentCulture = new CultureInfo("ru-RU"); + CreateHostBuilder(args).Build().Run(); }