diff --git a/src/Calendar.tsx b/src/Calendar.tsx index 6334f12..c8caade 100644 --- a/src/Calendar.tsx +++ b/src/Calendar.tsx @@ -43,6 +43,11 @@ class Calendar extends React.Component { }; } + function agendaHeaderFormat(date: {start: Date, end: Date}, culture: string, localizer: any) { + const format = 'll'; + return localizer.format(date.start, format) + ' - ' + localizer.format(date.end, format); + } + return (