## Unreleased * Fix errors with empty database * Fix negative playtimes being considered positive * Add %d for days to common.util.time.format_duration * Set up tests, add tests for common.util.time * Display total hours played on homepage * Add format_duration to common.util.time * Allow deleting sessions * Redirect after adding game/platform/purchase/session * Fix display of duration_manual * Fix display of duration_calculated, display durations less than a minute * Make the "Finish now?" button on session list work * Hide navigation bar items if there are no games/purchases/sessions * Set default version to "git-main" to indicate development environment * Add homepage, link to it from the logo * Make it possible to add a new platform * Save calculated duration to database if both timestamps are set * Improve session listing * Set version in the footer to fixed, fix main container height