Skip to content

Commit

Permalink
MDL-71817 calendar: remove year from prev/next links
Browse files Browse the repository at this point in the history
  • Loading branch information
lameze committed Jul 22, 2021
1 parent 9861282 commit 47ca6c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions calendar/classes/external/month_exporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,10 @@ protected function get_other_values(renderer_base $output) {
'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(),
Expand Down

0 comments on commit 47ca6c0

Please sign in to comment.