Update Access bug

This commit is contained in:
sunkaixuan 2022-09-20 16:26:56 +08:00
parent c5fa10fe3f
commit a7d571a6e5

View File

@ -136,7 +136,7 @@ namespace SqlSugar.Access
{
date = Convert.ToDateTime("1900-01-01");
}
return "'" + date.ToString("yyyy-MM-dd HH:mm") + "'";
return "'" + date.ToString("yyyy-MM-dd HH:mm:ss") + "'";
}
private object GetDateTimeString(object value)
{
@ -145,7 +145,7 @@ namespace SqlSugar.Access
{
date = Convert.ToDateTime("1900-01-01");
}
return "'" + date.ToString("yyyy-MM-dd HH:mm") + "'";
return "'" + date.ToString("yyyy-MM-dd HH:mm:ss") + "'";
}
}
}