Skip to content

Commit 33e3a3b

Browse files
authored
Merge pull request #2873 from TechnologyEnhancedLearning/Develop/Features/TD-4469-FixReportFails
TD-4469 fix date range labels on summary report
2 parents 0a99caa + 5acb15d commit 33e3a3b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DigitalLearningSolutions.Web.Tests/Services/ActivityServiceTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ public void GetActivityDataFileForCentre_returns_expected_excel_data()
436436

437437
var filterData = new ActivityFilterData(
438438
DateTime.Parse("2020-9-1"),
439-
DateTime.Parse("2021-9-1"),
439+
DateTime.Parse("2021-9-30"),
440440
null,
441441
null,
442442
null,

DigitalLearningSolutions.Web/Services/ActivityService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public byte[] GetActivityDataFileForCentre(int centreId, ActivityFilterData filt
140140
last.DateInformation.GetDateRangeLabel(
141141
DateHelper.StandardDateFormat,
142142
filterData.EndDate ?? clockUtility.UtcNow,
143-
true
143+
false
144144
),
145145
last.Enrolments,
146146
last.Completions,

0 commit comments

Comments
 (0)