Improve calendar

This commit is contained in:
Peter Maquiran
2021-01-26 10:53:12 +01:00
parent 76a12f7b8f
commit f92173f8f2
4 changed files with 80 additions and 10 deletions
@@ -7,7 +7,7 @@ export class CustomDateFormatter extends CalendarDateFormatter {
// you can override any of the methods defined in the parent class
public dayViewHour({ date, locale }: DateFormatterParams): string {
return formatDate(date, 'HH:mm', locale);
return formatDate(date, 'HH', locale);
}
public weekViewHour({ date, locale }: DateFormatterParams): string {