summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/analytics/instance_statistics/constants.js
blob: 846c0ef408b72386a40e5d2e839465c0b998ed1f (plain)
1
2
3
4
5
import { getDateInPast } from '~/lib/utils/datetime_utility';

export const TOTAL_DAYS_TO_SHOW = 365;
export const TODAY = new Date();
export const START_DATE = getDateInPast(TODAY, TOTAL_DAYS_TO_SHOW);