时间
This commit is contained in:
parent
9986c4db76
commit
4627cf9bb5
@ -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()
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user