mirror of
https://github.com/lidarr/Lidarr
synced 2025-03-10 05:52:53 +00:00
parent
4a0eced517
commit
1b4a1c11c4
1 changed files with 2 additions and 0 deletions
|
@ -66,6 +66,8 @@ namespace Lidarr.Api.V1.Calendar
|
||||||
occurrence.Categories = album.Genres;
|
occurrence.Categories = album.Genres;
|
||||||
|
|
||||||
occurrence.Start = new CalDateTime(album.ReleaseDate.Value.ToLocalTime()) { HasTime = false };
|
occurrence.Start = new CalDateTime(album.ReleaseDate.Value.ToLocalTime()) { HasTime = false };
|
||||||
|
occurrence.End = occurrence.Start;
|
||||||
|
occurrence.IsAllDay = true;
|
||||||
|
|
||||||
occurrence.Summary = $"{artist.Name} - {album.Title}";
|
occurrence.Summary = $"{artist.Name} - {album.Title}";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue