mirror of
https://github.com/friendica/friendica
synced 2025-05-01 23:44:24 +02: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
|
@ -466,11 +466,11 @@ class Temporal
|
|||
$tddate = intval(DateTimeFormat::localNow('j'));
|
||||
}
|
||||
|
||||
$str_month = L10n::getDay($mtab[$m]);
|
||||
$str_month = DI::l10n()->getDay($mtab[$m]);
|
||||
$o = '<table class="calendar' . $class . '">';
|
||||
$o .= "<caption>$str_month $y</caption><tr>";
|
||||
for ($a = 0; $a < 7; $a ++) {
|
||||
$o .= '<th>' . mb_substr(L10n::getDay($dn[$a]), 0, 3, 'UTF-8') . '</th>';
|
||||
$o .= '<th>' . mb_substr(DI::l10n()->getDay($dn[$a]), 0, 3, 'UTF-8') . '</th>';
|
||||
}
|
||||
|
||||
$o .= '</tr><tr>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue