forked from github/plane
9c28011ea5
* refactor: add pagination and notification context * refactor: moved header & snooze option to their own files added check before toUpperCase function
27 lines
573 B
TypeScript
27 lines
573 B
TypeScript
export const snoozeOptions = [
|
|
{
|
|
label: "1 day",
|
|
value: new Date(new Date().getTime() + 24 * 60 * 60 * 1000),
|
|
},
|
|
{
|
|
label: "3 days",
|
|
value: new Date(new Date().getTime() + 3 * 24 * 60 * 60 * 1000),
|
|
},
|
|
{
|
|
label: "5 days",
|
|
value: new Date(new Date().getTime() + 5 * 24 * 60 * 60 * 1000),
|
|
},
|
|
{
|
|
label: "1 week",
|
|
value: new Date(new Date().getTime() + 7 * 24 * 60 * 60 * 1000),
|
|
},
|
|
{
|
|
label: "2 weeks",
|
|
value: new Date(new Date().getTime() + 14 * 24 * 60 * 60 * 1000),
|
|
},
|
|
{
|
|
label: "Custom",
|
|
value: null,
|
|
},
|
|
];
|