From 8bbf003ee8c8db569bd07c120e511ee172655ca0 Mon Sep 17 00:00:00 2001 From: liufx <1277813361@qq.com> Date: Thu, 15 Aug 2024 19:53:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=86=E8=A1=A8=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E6=97=B6=E9=97=B4=E6=A0=BC=E5=BC=8F=E5=8C=96=E4=B8=8D?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=85=B6=E4=BB=96=E8=AF=AD=E8=A8=80=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SqlSugar/IntegrationServices/SplitTableService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Asp.NetCore2/SqlSugar/IntegrationServices/SplitTableService.cs b/Src/Asp.NetCore2/SqlSugar/IntegrationServices/SplitTableService.cs index a3022531f..24d7fc28c 100644 --- a/Src/Asp.NetCore2/SqlSugar/IntegrationServices/SplitTableService.cs +++ b/Src/Asp.NetCore2/SqlSugar/IntegrationServices/SplitTableService.cs @@ -171,7 +171,7 @@ namespace SqlSugar { day = group3; } - return Convert.ToDateTime($"{year}-{month}-{day}"); + return Convert.ToDateTime($"{year}-{month}-{day}",CultureInfo.InvariantCulture); } private string PadLeft2(string str)