Extend analytics to 90 days

This commit is contained in:
Austin Chen 2022-05-25 19:22:50 -07:00
parent b8b1c0d056
commit eb68d059e2

View File

@ -18,7 +18,7 @@ import { getDailyNewUsers } from 'web/lib/firebase/users'
export const getStaticProps = fromPropz(getStaticPropz) export const getStaticProps = fromPropz(getStaticPropz)
export async function getStaticPropz() { export async function getStaticPropz() {
const numberOfDays = 45 const numberOfDays = 90
const today = dayjs(dayjs().format('YYYY-MM-DD')) const today = dayjs(dayjs().format('YYYY-MM-DD'))
// Convert from UTC midnight to PT midnight. // Convert from UTC midnight to PT midnight.
.add(7, 'hours') .add(7, 'hours')