debian-mirror-gitlab/app/assets/javascripts/analytics/usage_trends/constants.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
203 B
JavaScript
Raw Normal View History

2021-01-03 14:25:43 +05:30
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);