fix: add end date to calendar events

Fixes: #3218
This commit is contained in:
Lewis England 2022-12-15 17:16:10 +00:00 committed by Qstick
parent 4a0eced517
commit 1b4a1c11c4
1 changed files with 2 additions and 0 deletions

View File

@ -66,6 +66,8 @@ namespace Lidarr.Api.V1.Calendar
occurrence.Categories = album.Genres;
occurrence.Start = new CalDateTime(album.ReleaseDate.Value.ToLocalTime()) { HasTime = false };
occurrence.End = occurrence.Start;
occurrence.IsAllDay = true;
occurrence.Summary = $"{artist.Name} - {album.Title}";
}