Skip to content

Commit

Permalink
Missing docblock.
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 committed Jul 14, 2024
1 parent a009eb7 commit 665f401
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions classes/output/core_calendar_renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ public function add_event_button($courseid, $unused1 = null, $unused2 = null, $u
return $this->render_from_template('core_calendar/add_event_button', $data);
}

/**
* Returns today as a string to be displayed. Uses localised language string format.
*/
public function today() {
$data = [
'today' => userdate(time(), get_string('strftimedayshort', 'core_langconfig')),
Expand Down

0 comments on commit 665f401

Please sign in to comment.