mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-08-05 23:52:26 +08:00
update to net8.0
This commit is contained in:
@ -837,7 +837,7 @@ namespace base_entity
|
||||
|
||||
|
||||
var now_to_timezone = "";
|
||||
var timeOffset = (int)TimeZone.CurrentTimeZone.GetUtcOffset(DateTime.Now).TotalMinutes;
|
||||
var timeOffset = (int)DateTime.Now.Subtract(DateTime.UtcNow).TotalMinutes;
|
||||
if (timeOffset == 0) now_to_timezone = "systimestamp()";
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user