use range instead of dates across the web
This commit is contained in:
@@ -19,15 +19,26 @@ export const intervals = {
|
||||
month: "Month",
|
||||
};
|
||||
|
||||
export const alphabetIds = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J"] as const;
|
||||
export const alphabetIds = [
|
||||
"A",
|
||||
"B",
|
||||
"C",
|
||||
"D",
|
||||
"E",
|
||||
"F",
|
||||
"G",
|
||||
"H",
|
||||
"I",
|
||||
"J",
|
||||
] as const;
|
||||
|
||||
export const timeRanges = {
|
||||
'today': 'Today',
|
||||
1: '24 hours',
|
||||
7: '7 days',
|
||||
14: '14 days',
|
||||
30: '30 days',
|
||||
90: '3 months',
|
||||
180: '6 months',
|
||||
365: '1 year',
|
||||
}
|
||||
export const timeRanges = [
|
||||
{ range: 0, title: "Today" },
|
||||
{ range: 1, title: "24 hours" },
|
||||
{ range: 7, title: "7 days" },
|
||||
{ range: 14, title: "14 days" },
|
||||
{ range: 30, title: "30 days" },
|
||||
{ range: 90, title: "3 months" },
|
||||
{ range: 180, title: "6 months" },
|
||||
{ range: 365, title: "1 year" },
|
||||
] as const
|
||||
|
||||
Reference in New Issue
Block a user