diff --git a/api/scrobble.js b/api/scrobble.js index 11d13295..f5f7096e 100644 --- a/api/scrobble.js +++ b/api/scrobble.js @@ -18,7 +18,7 @@ const weekKey = () => { } const filterOldScrobbles = (scrobbles) => { - const twoWeeksAgo = DateTime.now().minus({ weeks: 2 }); + const twoWeeksAgo = DateTime.now().minus({ days: 10 }); return scrobbles.filter(scrobble => { const timestamp = DateTime.fromISO(scrobble.timestamp); return timestamp >= twoWeeksAgo;