From 4627cf9bb5a2a643e5b6fc8fa34fba39c5a0dea3 Mon Sep 17 00:00:00 2001 From: tanglong <842690096@qq.com> Date: Fri, 17 Jul 2026 13:51:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- YD_YiLu/Services/Impl/DeviceSyncService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/YD_YiLu/Services/Impl/DeviceSyncService.cs b/YD_YiLu/Services/Impl/DeviceSyncService.cs index f333740..2d1a3c1 100644 --- a/YD_YiLu/Services/Impl/DeviceSyncService.cs +++ b/YD_YiLu/Services/Impl/DeviceSyncService.cs @@ -1123,7 +1123,7 @@ namespace YD_YiLu.Api.Services.Impl .Select(i => today.AddDays(i - 6)) .Select(day => new YtpGradeListItem { - Time = day.ToString("yyyy-MM-dd"), + Time = day.ToString("MM-dd"), Duration = "0", Count = "0" }) @@ -1147,7 +1147,7 @@ namespace YD_YiLu.Api.Services.Impl var daySeconds = dayTrains.Sum(x => x.Duration); return new YtpGradeListItem { - Time = day.ToString("yyyy-MM-dd"), + Time = day.ToString("MM-dd"), Duration = SecondsToHours(daySeconds), Count = dayTrains.Count.ToString() };