diff options
| author | Peter Thienel <thienel@data-quest.de> | 2024-03-22 09:27:53 +0000 |
|---|---|---|
| committer | Moritz Strohm <strohm@data-quest.de> | 2024-03-22 09:27:53 +0000 |
| commit | 2b897359149fde4d38e72c111dd6762d3c4ad332 (patch) | |
| tree | b06a07dd1f37f8a98b6d88ed9132143d3e80967f /lib/models | |
| parent | 7f62272a741437a22af4de89c10f9087b7e39d15 (diff) | |
Resolve: "Ganztägige Termine über mehrere Tage werden nicht als Ganztagstermine dargestellt"
Closes #3875
Merge request studip/studip!2731
Diffstat (limited to 'lib/models')
| -rw-r--r-- | lib/models/calendar/CalendarDateAssignment.class.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/models/calendar/CalendarDateAssignment.class.php b/lib/models/calendar/CalendarDateAssignment.class.php index 101cb96..4e084c2 100644 --- a/lib/models/calendar/CalendarDateAssignment.class.php +++ b/lib/models/calendar/CalendarDateAssignment.class.php @@ -507,8 +507,7 @@ class CalendarDateAssignment extends SimpleORMap implements Event return false; } $end = $this->getEnd(); - return ($end->format('Ymd') === $begin->format('Ymd') - && $end->format('His') === '235959'); + return $end->format('His') === '235959'; } public function isWritable(string $user_id): bool |
