Skip to content

Commit

Permalink
fixes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpapst committed Sep 15, 2024
1 parent a35ca7d commit 2cd307f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Compatibility: requires minimum Kimai 2.21.0
- Add details button and stats in project listing on shared customer page (#8)
- Use translations from core, use latest repository features
- Use password field for login
- Fixes missing timesheet if user and start time is the same (#1)

## Version 3.1.0

Expand Down
2 changes: 1 addition & 1 deletion Service/ViewService.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function getTimeRecords(SharedProjectTimesheet $sharedProject, int $year,
}
} else {
// One user can be assigned to multiple records per day
$time = $timesheet->getBegin()->format('H-i-s');
$time = $timesheet->getBegin()->format('H-i-s') . $timesheet->getId();
$timeRecords[$dateKey][$userKey][$time] = TimeRecord::fromTimesheet($timesheet);
}
}
Expand Down

0 comments on commit 2cd307f

Please sign in to comment.