diff --git a/frontend/app/src/components/news/NewsListCard.tsx b/frontend/app/src/components/news/NewsListCard.tsx index 5c0b302..4629cde 100644 --- a/frontend/app/src/components/news/NewsListCard.tsx +++ b/frontend/app/src/components/news/NewsListCard.tsx @@ -5,7 +5,7 @@ import { News, useGetNewsQuery } from "../../slice/NewsApi"; import { ClockCircleOutlined } from "@ant-design/icons"; const formatTime = (s: string) => { - const d = new Date(s); + const d = new Date(s + "Z"); return d.toLocaleString(); };