Skip to content

Commit

Permalink
Merge branch 'MDL-40109_master' of git://github.com/dmonllao/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Hemelryk committed Jun 17, 2013
2 parents e667bd9 + af24863 commit 540a8f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/format/weeks/lib.php
Expand Up @@ -64,7 +64,7 @@ public function get_section_name($section) {
// We subtract 24 hours for display purposes.
$dates->end = ($dates->end - 86400);

$dateformat = ' '.get_string('strftimedateshort');
$dateformat = get_string('strftimedateshort');
$weekday = userdate($dates->start, $dateformat);
$endweekday = userdate($dates->end, $dateformat);
return $weekday.' - '.$endweekday;
Expand Down

0 comments on commit 540a8f8

Please sign in to comment.