diff --git a/API/Controllers/ActionsController.cs b/API/Controllers/ActionsController.cs index 2aee0d5..a84f565 100644 --- a/API/Controllers/ActionsController.cs +++ b/API/Controllers/ActionsController.cs @@ -38,8 +38,8 @@ public class ActionsController(ActionsContext context) : Controller public async Task>, InternalServerError>> GetActionsInterval([FromBody]Filter filter) { if (await context.Filter(filter.MangaId, filter.ChapterId) - .Where(a => filter.Start == null || a.PerformedAt >= filter.Start) - .Where(a => filter.End == null || a.PerformedAt >= filter.End) + .Where(a => filter.Start == null || a.PerformedAt >= filter.Start.Value.ToUniversalTime()) + .Where(a => filter.End == null || a.PerformedAt >= filter.End.Value.ToUniversalTime()) .Where(a => filter.Action == null || a.Action == filter.Action) .ToListAsync(HttpContext.RequestAborted) is not { } actions) return TypedResults.InternalServerError();