Skip to content

Commit 74fab62

Browse files
committed
TD-4436-DateTime convertion removed.
1 parent 572af95 commit 74fab62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DigitalLearningSolutions.Web/Controllers/TrackingSystem/Delegates/ViewDelegateController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public IActionResult Index(int delegateId, string? callType)
7878
foreach (var course in delegateCourses)
7979
{
8080
course.Enrolled = (DateTime)DateHelper.GetLocalDateTime(course.Enrolled);
81-
course.LastUpdated = (DateTime)DateHelper.GetLocalDateTime(course.LastUpdated);
81+
course.LastUpdated = DateHelper.GetLocalDateTime(course.LastUpdated);
8282
course.Completed = course.Completed?.TimeOfDay == TimeSpan.Zero ? course.Completed : DateHelper.GetLocalDateTime(course.Completed);
8383
}
8484

0 commit comments

Comments
 (0)