mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-11 07:55:52 +01:00
🐛 Fix Readarr date match
This commit is contained in:
@@ -156,8 +156,8 @@ function DayComponent(props: any) {
|
|||||||
const day = renderdate.getDate();
|
const day = renderdate.getDate();
|
||||||
|
|
||||||
const readarrFiltered = readarrmedias.filter((media: any) => {
|
const readarrFiltered = readarrmedias.filter((media: any) => {
|
||||||
const mediaDate = new Date(media.releaseDate);
|
const date = new Date(media.releaseDate);
|
||||||
return mediaDate.getDate() === day;
|
return date.getDate() === day && date.getMonth() === renderdate.getMonth();
|
||||||
});
|
});
|
||||||
|
|
||||||
const lidarrFiltered = lidarrmedias.filter((media: any) => {
|
const lidarrFiltered = lidarrmedias.filter((media: any) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user