diff --git a/www/js/diary/list/DateSelect.tsx b/www/js/diary/list/DateSelect.tsx index df3bbbd66..849f23188 100644 --- a/www/js/diary/list/DateSelect.tsx +++ b/www/js/diary/list/DateSelect.tsx @@ -39,7 +39,7 @@ const DateSelect = ({ mode, onChoose, ...rest }: Props) => { }, [pipelineRange]); const queriedRangeAsJsDates = useMemo( - () => queriedDateRange?.map((d) => new Date(d)), + () => queriedDateRange?.map((d) => DateTime.fromISO(d).toJSDate()), [queriedDateRange], );