Kimai 2 provides a calendar view, which displays your timesheet entries in a easy readable format. You can choose between a monthly, weekly and daily view.
The calendar view look and feel is configured with the config keys below
kimai.yaml / your local.yaml:
kimai: calendar: week_numbers: true day_limit: 4 businessHours: days: [1, 2, 3, 4, 5] begin: '08:00' end: '20:00'
week_numbers- whether week numbers should be displayed in the monthly view (default: true)
day_limitdefined the max amount of items to be displayed for one day in the monthly view (default: 4)
businessHours.daysdefines your working days, which will be highlighted in the weekly and daily view. counting starts with sunday and the index 0, so 1 = monday, …, 6 = saturday. (default: 1-5 / monday to friday)
businessHours.beginthe start time of your working day, which will be highlighted in the weekly and daily view (default: 08:00 / 8am)
businessHours.endthe end time of your working day, which will be highlighted in the weekly and daily view (default: 20:00 / 8pm)
The initial view for the calendar is
It is a user specific setting and each user can configure it in his User profile at Preferences.
Available options are:
agendaDay (these might be called different if a translation is available)
If you want to embed Google calendars e.g. to display regional holidays or company events you can import (multiple) Google calendars.
kimai.calendar.google.sourcesnode, each must have its own name (like
companyin this example)
kimai: calendar: google: api_key: 'your-restricted-google-api-key' sources: holidays: id: 'email@example.com' color: '#ccc' company: id: 'firstname.lastname@example.org' color: '#cc0000'