mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
110 lines
1.6 KiB
TypeScript
110 lines
1.6 KiB
TypeScript
import { TCalendarLayouts } from "@plane/types";
|
|
|
|
export const MONTHS_LIST: {
|
|
[monthNumber: number]: {
|
|
shortTitle: string;
|
|
title: string;
|
|
};
|
|
} = {
|
|
1: {
|
|
shortTitle: "Jan",
|
|
title: "January",
|
|
},
|
|
2: {
|
|
shortTitle: "Feb",
|
|
title: "February",
|
|
},
|
|
3: {
|
|
shortTitle: "Mar",
|
|
title: "March",
|
|
},
|
|
4: {
|
|
shortTitle: "Apr",
|
|
title: "April",
|
|
},
|
|
5: {
|
|
shortTitle: "May",
|
|
title: "May",
|
|
},
|
|
6: {
|
|
shortTitle: "Jun",
|
|
title: "June",
|
|
},
|
|
7: {
|
|
shortTitle: "Jul",
|
|
title: "July",
|
|
},
|
|
8: {
|
|
shortTitle: "Aug",
|
|
title: "August",
|
|
},
|
|
9: {
|
|
shortTitle: "Sep",
|
|
title: "September",
|
|
},
|
|
10: {
|
|
shortTitle: "Oct",
|
|
title: "October",
|
|
},
|
|
11: {
|
|
shortTitle: "Nov",
|
|
title: "November",
|
|
},
|
|
12: {
|
|
shortTitle: "Dec",
|
|
title: "December",
|
|
},
|
|
};
|
|
|
|
export const DAYS_LIST: {
|
|
[dayIndex: number]: {
|
|
shortTitle: string;
|
|
title: string;
|
|
};
|
|
} = {
|
|
1: {
|
|
shortTitle: "Sun",
|
|
title: "Sunday",
|
|
},
|
|
2: {
|
|
shortTitle: "Mon",
|
|
title: "Monday",
|
|
},
|
|
3: {
|
|
shortTitle: "Tue",
|
|
title: "Tuesday",
|
|
},
|
|
4: {
|
|
shortTitle: "Wed",
|
|
title: "Wednesday",
|
|
},
|
|
5: {
|
|
shortTitle: "Thu",
|
|
title: "Thursday",
|
|
},
|
|
6: {
|
|
shortTitle: "Fri",
|
|
title: "Friday",
|
|
},
|
|
7: {
|
|
shortTitle: "Sat",
|
|
title: "Saturday",
|
|
},
|
|
};
|
|
|
|
export const CALENDAR_LAYOUTS: {
|
|
[layout in TCalendarLayouts]: {
|
|
key: TCalendarLayouts;
|
|
title: string;
|
|
};
|
|
} = {
|
|
month: {
|
|
key: "month",
|
|
title: "Month layout",
|
|
},
|
|
week: {
|
|
key: "week",
|
|
title: "Week layout",
|
|
},
|
|
};
|