MDL-71817 calendar: remove year from prev/next links
This commit is contained in:
+2
-2
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user