Move L10n::getDay() calls to DI::l10n()->getDay() calls
This commit is contained in:
@@ -476,7 +476,7 @@ class Widget
|
||||
$dend = substr($dnow, 0, 8) . Temporal::getDaysInMonth(intval($dnow), intval(substr($dnow, 5)));
|
||||
$start_month = DateTimeFormat::utc($dstart, 'Y-m-d');
|
||||
$end_month = DateTimeFormat::utc($dend, 'Y-m-d');
|
||||
$str = L10n::getDay(DateTimeFormat::utc($dnow, 'F'));
|
||||
$str = DI::l10n()->getDay(DateTimeFormat::utc($dnow, 'F'));
|
||||
|
||||
if (empty($ret[$dyear])) {
|
||||
$ret[$dyear] = [];
|
||||
|
||||
Reference in New Issue
Block a user