Browse files

MDL-40109 format_weeks: Removing extra space

  • Loading branch information...
1 parent 6c41397 commit 3f7511f0223f1d3d4566f5b67a79dbc9aaf5dbdd @dmonllao dmonllao committed Jun 10, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/format/weeks/lib.php
View
2 course/format/weeks/lib.php
@@ -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;

0 comments on commit 3f7511f

Please sign in to comment.