This commit is contained in:
moyongzhen 2024-03-05 20:12:39 +08:00
parent 140ba7465a
commit 25e3172275

View File

@ -70,7 +70,6 @@ namespace SJZY.Track.Application.Services.TrackOrders
} }
else else
{ {
// 将小数形式的小时转换为时区偏移量 // 将小数形式的小时转换为时区偏移量
int hours = (int)a.TrackTimeZoneValue; // 提取整数部分作为小时 int hours = (int)a.TrackTimeZoneValue; // 提取整数部分作为小时
int minutes = (int)((a.TrackTimeZoneValue - hours) * 60); // 将小数部分乘以 60 转换为分钟 int minutes = (int)((a.TrackTimeZoneValue - hours) * 60); // 将小数部分乘以 60 转换为分钟