mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 04:23:47 +08:00
修复分表查询时间格式化不支持其他语言问题
This commit is contained in:
@@ -171,7 +171,7 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
day = group3;
|
day = group3;
|
||||||
}
|
}
|
||||||
return Convert.ToDateTime($"{year}-{month}-{day}");
|
return Convert.ToDateTime($"{year}-{month}-{day}",CultureInfo.InvariantCulture);
|
||||||
}
|
}
|
||||||
|
|
||||||
private string PadLeft2(string str)
|
private string PadLeft2(string str)
|
||||||
|
Reference in New Issue
Block a user