Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Paste
P15
T15477
Active
Public
Actions
Authored by
aklapper
on Jun 14 2023, 20:04.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Tags
None
Referenced Files
F310042: T15477
Jun 14 2023, 20:04
2023-06-14 20:04:22 (UTC+0)
Subscribers
None
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));
}
}
Event Timeline
aklapper
created this paste.
Jun 14 2023, 20:04
2023-06-14 20:04:22 (UTC+0)
aklapper
created this object in space
S1 Public
.
aklapper
mentioned this in
T15477: Event names in Calendar monthly view can become unreadable, lack tooltips
.
Log In to Comment