Skip to content

Commit 18670a3

Browse files
committed
Format days header in display timezone
1 parent d0028ce commit 18670a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

library/Notifications/Widget/TimeGrid/DaysHeader.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ public function assemble(): void
5959
$dateFormatter = new IntlDateFormatter(
6060
Locale::getDefault(),
6161
IntlDateFormatter::MEDIUM,
62-
IntlDateFormatter::NONE
62+
IntlDateFormatter::NONE,
63+
ScheduleDateTimeFactory::getDisplayTimezone()
6364
);
6465

6566
for ($i = 0; $i < $this->days; $i++) {

0 commit comments

Comments
 (0)