MDL-71817 calendar: remove year from prev/next links

This commit is contained in:
Simey Lameze
2021-07-22 08:46:01 +08:00
parent 98612827b0
commit 47ca6c017a
+2 -2
View File
@@ -218,10 +218,10 @@ class month_exporter extends exporter {
'date' => (new date_exporter($date))->export($output),
'periodname' => userdate($this->calendar->time, get_string('strftimemonthyear')),
'previousperiod' => (new date_exporter($previousperiod))->export($output),
'previousperiodname' => userdate($previousperiod[0], get_string('strftimemonthyear')),
'previousperiodname' => $previousperiod['month'],
'previousperiodlink' => $previousperiodlink->out(false),
'nextperiod' => (new date_exporter($nextperiod))->export($output),
'nextperiodname' => userdate($nextperiod[0], get_string('strftimemonthyear')),
'nextperiodname' => $nextperiod['month'],
'nextperiodlink' => $nextperiodlink->out(false),
'larrow' => $output->larrow(),
'rarrow' => $output->rarrow(),