Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14313427
D16867.id40615.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1001 B
Referenced Files
None
Subscribers
None
D16867.id40615.diff
View Options
diff --git a/src/applications/calendar/storage/PhabricatorCalendarEvent.php b/src/applications/calendar/storage/PhabricatorCalendarEvent.php
--- a/src/applications/calendar/storage/PhabricatorCalendarEvent.php
+++ b/src/applications/calendar/storage/PhabricatorCalendarEvent.php
@@ -590,10 +590,10 @@
$start = $this->newStartDateTime();
$end = $this->newEndDateTime();
- if ($show_end) {
- $min_date = $start->newPHPDateTime();
- $max_date = $end->newPHPDateTime();
+ $min_date = $start->newPHPDateTime();
+ $max_date = $end->newPHPDateTime();
+ if ($show_end) {
// Subtract one second since the stored date is exclusive.
$max_date = $max_date->modify('-1 second');
@@ -605,8 +605,8 @@
$show_end_date = false;
}
- $min_epoch = $start->getEpoch();
- $max_epoch = $end->getEpoch();
+ $min_epoch = $min_date->format('U');
+ $max_epoch = $max_date->format('U');
if ($this->getIsAllDay()) {
if ($show_end_date) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 4:12 AM (25 m, 45 s)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6906087
Default Alt Text
D16867.id40615.diff (1001 B)
Attached To
Mode
D16867: Fix a bug on Calendar event day views for all day events in certain timezones
Attached
Detach File
Event Timeline
Log In to Comment