mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-06 16:55:49 +00:00
fix: add end date to calendar events
This commit is contained in:
@@ -66,6 +66,8 @@ namespace Readarr.Api.V1.Calendar
|
||||
occurrence.Categories = book.Genres;
|
||||
|
||||
occurrence.Start = new CalDateTime(book.ReleaseDate.Value.ToLocalTime()) { HasTime = false };
|
||||
occurrence.End = occurrence.Start;
|
||||
occurrence.IsAllDay = true;
|
||||
|
||||
occurrence.Summary = $"{author.Name} - {book.Title}";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user