From d152d2ec2b130b5c00270ddfffb5109c083e984b Mon Sep 17 00:00:00 2001 From: cdn64 Date: Sat, 10 Feb 2024 11:12:58 +0100 Subject: [PATCH] feat: lower cutoffDate on start page from 2 weeks to 1 week --- src/pages/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/index.tsx b/src/pages/index.tsx index db07248..83f3aa0 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -18,7 +18,7 @@ interface Props { content: HomeQuery["content"] } export const getStaticProps: GetStaticProps = async () => { - const cutoffDate = DateTime.now().minus({ weeks: 2 }).toISODate() + const cutoffDate = DateTime.now().minus({ weeks: 1 }).toISODate() const { data } = await client.query({ query: gql(` query Home($cutoffDate: Date!) {