Fix label of month
This commit is contained in:
parent
89138bc349
commit
784c13d9d0
@ -233,13 +233,13 @@ print '<th class="liste_titre" align="right">'.$langs->trans("SelectedPeriod").'
|
|||||||
foreach($months as $k => $v){
|
foreach($months as $k => $v){
|
||||||
if (($k+1) >= $date_startmonth)
|
if (($k+1) >= $date_startmonth)
|
||||||
{
|
{
|
||||||
print '<th class="liste_titre width50" align="right" >'.$langs->trans($v).'</th>';
|
print '<th class="liste_titre width50" align="right" >'.$langs->trans('MonthShort'.sprintf("%02s",($k+1))).'</th>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
foreach($months as $k => $v){
|
foreach($months as $k => $v){
|
||||||
if (($k+1) < $date_startmonth)
|
if (($k+1) < $date_startmonth)
|
||||||
{
|
{
|
||||||
print '<th class="liste_titre width50" align="right" >'.$langs->trans($v).'</th>';
|
print '<th class="liste_titre width50" align="right" >'.$langs->trans('MonthShort'.sprintf("%02s",($k+1))).'</th>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user