fix failed uts

This commit is contained in:
taiyang-li 2023-03-22 16:53:47 +08:00
parent 94175b79a7
commit db6efaa339

View File

@ -430,7 +430,7 @@ namespace
else
days_since_epoch = daysSinceEpochFromDate(year, month, day);
Int64 seconds_since_epoch = days_since_epoch * 86400 + hour * 3600 + minute * 60 + second;
Int64 seconds_since_epoch = days_since_epoch * 86400UZ + hour * 3600UZ + minute * 60UZ + second;
/// Time zone is not specified, use local time zone
if (!has_time_zone_offset)