From 8971ac2e14c1b245c893cb9c772b17832ceb37d5 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Fri, 12 Jan 2024 02:36:18 +0200 Subject: [PATCH] Fixed: Series end date is UTC --- frontend/src/Series/Details/SeriesDetails.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Series/Details/SeriesDetails.js b/frontend/src/Series/Details/SeriesDetails.js index 5a0b7f9b7..d4a147e53 100644 --- a/frontend/src/Series/Details/SeriesDetails.js +++ b/frontend/src/Series/Details/SeriesDetails.js @@ -58,7 +58,7 @@ function getExpandedState(newState) { } function getDateYear(date) { - const dateDate = moment(date); + const dateDate = moment.utc(date); return dateDate.format('YYYY'); }