forked from github/plane
e6055da150
* feat:start and last day of month helper function * feat: start and last day of week helper function * feat: weekday and everyday interval helper function * feat: calendar date formater helper function * feat: monthly calendar view , feat: weekend date toggle, feat: calendar month and year picker * feat: monthly , weekly view and weekend toggle * feat: drag and drop added in calendar view * fix: drag and drop mutation fix * chore: refactoring , feat: calendar view option added * fix: calendar view menu fix * style: calendar view style improvement * style: drag and drop styling * fix:week day format fix * chore: calendar constant added * feat: calendar helper function added * feat: month and year picker, month navigator, jump to today funtionality added * feat: weekly navigation and jump to today fix, style: month year picker fix --------- Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
23 lines
671 B
TypeScript
23 lines
671 B
TypeScript
export const monthOptions = [
|
|
{ value: "1", label: "January" },
|
|
{ value: "2", label: "February" },
|
|
{ value: "3", label: "March" },
|
|
{ value: "4", label: "April" },
|
|
{ value: "5", label: "May" },
|
|
{ value: "6", label: "June" },
|
|
{ value: "7", label: "July" },
|
|
{ value: "8", label: "August" },
|
|
{ value: "9", label: "September" },
|
|
{ value: "10", label: "October" },
|
|
{ value: "11", label: "November" },
|
|
{ value: "12", label: "December" },
|
|
];
|
|
|
|
export const yearOptions = [
|
|
{ value: "2021", label: "2021" },
|
|
{ value: "2022", label: "2022" },
|
|
{ value: "2023", label: "2023" },
|
|
{ value: "2024", label: "2024" },
|
|
{ value: "2025", label: "2025" },
|
|
];
|