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 weekends: true day_limit: 4 businessHours: days: [1, 2, 3, 4, 5] begin: '08:00' end: '18:00' visibleHours: begin: '00:00' end: '24:00'
week_numbers- whether week numbers should be displayed in the monthly view (default: true)
weekends- whether weekends should be displayed (default: true)
day_limit- defined the max amount of items to be displayed for one day in the monthly view (default: 4)
businessHours.days- defines 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.begin- the start time of your working day, which will be highlighted in the weekly and daily view (default: 08:00)
businessHours.end- the end time of your working day, which will be highlighted in the weekly and daily view (default: 18:00)
visibleHours.begin- the start time of the calendars week and day view (default: 00:00)
visibleHours.end- the end time of the calendars week and day view (default: 24:00)
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 a user configured it preference
calendar, the timesheet icon in the top navigation bar
will be replaced by a link to the calendar.
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'