Extend analytics to 90 days
This commit is contained in:
parent
b8b1c0d056
commit
eb68d059e2
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user