mirror of
https://github.com/friendica/friendica
synced 2025-04-27 09:10:12 +00:00
Move L10n::getDay() calls to DI::l10n()->getDay() calls
This commit is contained in:
parent
d3255afa66
commit
cb4ad529f4
4 changed files with 11 additions and 11 deletions
|
@ -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] = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue