Skip to content

Commit

Permalink
csv导出映射
Browse files Browse the repository at this point in the history
  • Loading branch information
NLick47 committed Feb 13, 2025
1 parent 9640722 commit df4c707
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core/Servicers/Instances/Data.cs
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ public async Task ExportToExcelAsync(string dir, DateTime start, DateTime end)
Date = x.Date.ToString(SystemLanguage.CurrentCultureInfo.DateTimeFormat.ShortDatePattern),
AppName = x.AppModel?.Name,
Description = x.AppModel?.Description,
Time = x.Time,
Duration = x.Time,
Category = x.AppModel.Category == null ? ResourceStrings.Uncategorized : x.AppModel.Category.Name
}));
}
Expand All @@ -700,7 +700,7 @@ public async Task ExportToExcelAsync(string dir, DateTime start, DateTime end)
TimePeriod = x.DataTime.ToString("G", SystemLanguage.CurrentCultureInfo),
AppName = x.AppModel?.Name,
Description = x.AppModel?.Description,
Time = x.Time,
Duration = x.Time,
Category = x.AppModel.Category == null ? ResourceStrings.Uncategorized : x.AppModel.Category.Name
}));
}
Expand Down

0 comments on commit df4c707

Please sign in to comment.