Move L10n::getDay() calls to DI::l10n()->getDay() calls

This commit is contained in:
nupplaPhil 2020-01-18 20:54:46 +01:00
parent d3255afa66
commit cb4ad529f4
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
4 changed files with 11 additions and 11 deletions

View file

@ -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] = [];