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)