Page MenuHomePhabricator

D13044.diff
No OneTemporary

D13044.diff

diff --git a/src/view/phui/calendar/PHUICalendarMonthView.php b/src/view/phui/calendar/PHUICalendarMonthView.php
--- a/src/view/phui/calendar/PHUICalendarMonthView.php
+++ b/src/view/phui/calendar/PHUICalendarMonthView.php
@@ -228,7 +228,8 @@
$cell_day = null;
}
- if ($date && $date->format('j') == $this->day) {
+ if ($date && $date->format('j') == $this->day &&
+ $date->format('m') == $this->month) {
$today_class = 'phui-calendar-today-slot phui-calendar-today';
} else {
$today_class = 'phui-calendar-today-slot';

File Metadata

Mime Type
text/plain
Expires
May 12 2024, 3:10 AM (4 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6287722
Default Alt Text
D13044.diff (565 B)

Event Timeline