Page MenuHomePhorge

T15477
ActivePublic

Authored by aklapper on Jun 14 2023, 20:04.
diff --git a/src/applications/calendar/storage/PhabricatorCalendarEvent.php b/src/applications/calendar/storage/PhabricatorCalendarEvent.php
index 941ec6220d..59e3c58038 100644
--- a/src/applications/calendar/storage/PhabricatorCalendarEvent.php
+++ b/src/applications/calendar/storage/PhabricatorCalendarEvent.php
@@ -602,27 +602,32 @@ final class PhabricatorCalendarEvent extends PhabricatorCalendarDAO
if ($this->getIsAllDay()) {
if ($show_end_date) {
return pht(
- '%s - %s, All Day',
+ '%s' . "\n" . '%s - %s, All Day',
+ $this->getName(),
phabricator_date($min_epoch, $viewer),
phabricator_date($max_epoch, $viewer));
} else {
return pht(
- '%s, All Day',
+ '%s' . "\n" . '%s, All Day',
+ $this->getName(),
phabricator_date($min_epoch, $viewer));
}
} else if ($show_end_date) {
return pht(
- '%s - %s',
+ '%s' . "\n" . '%s - %s',
+ $this->getName(),
phabricator_datetime($min_epoch, $viewer),
phabricator_datetime($max_epoch, $viewer));
} else if ($show_end) {
return pht(
- '%s - %s',
+ '%s' . "\n" . '%s - %s',
+ $this->getName(),
phabricator_datetime($min_epoch, $viewer),
phabricator_time($max_epoch, $viewer));
} else {
return pht(
- '%s',
+ '%s' . "\n" . '%s',
+ $this->getName(),
phabricator_datetime($min_epoch, $viewer));
}
}